Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

given limitation under -Xsource:3 #13040

Open
som-snytt opened this issue Sep 26, 2024 · 0 comments
Open

given limitation under -Xsource:3 #13040

som-snytt opened this issue Sep 26, 2024 · 0 comments
Milestone

Comments

@som-snytt
Copy link

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.

@lrytz lrytz added this to the 2.13.16 milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants