Skip to content

given limitation under -Xsource:3 #13040

Open
@som-snytt

Description

@som-snytt

Reproduction steps

Scala version: 2.13.15

//> using options -Xsource:3
import scala.util.chaining.given
import scala.concurrent.duration.given

class C {
  def f = 42.tap(println)
  def g = 42.seconds
}

Problem

chaining works but duration does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions