We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
after compiling the following code:
// Test.tasty object Test { class Givens { given Int = 23 given String = "the string" } class Foo { val g: Givens = Givens() import g.{given Int} } }
use scalac -decompile Test.tasty
scalac -decompile Test.tasty
@scala.annotation.internal.SourceFile("sandbox/exports/example.scala") object Test { class Givens() { final def given_Int: scala.Int = 23 final def given_String: scala.Predef.String = "the string" } class Foo() { val g: Test.Givens = new Test.Givens() import Foo.this.g.{} } }
@scala.annotation.internal.SourceFile("sandbox/exports/example.scala") object Test { class Givens() { final def given_Int: scala.Int = 23 final def given_String: scala.Predef.String = "the string" } class Foo() { val g: Test.Givens = new Test.Givens() import Foo.this.g.{given Int} } }
and also a ways to reflect on this in tasty reflect
The text was updated successfully, but these errors were encountered:
Fix scala#10359: Add GivenSelector to refelction API
de07985
Fix scala#10359: Add GivenSelector to reflection API
3630d9d
dc35ca5
Merge pull request #10469 from dotty-staging/fix-#10359
cda0a9d
Fix #10359: Add GivenSelector to reflection API
nicolasstucki
Successfully merging a pull request may close this issue.
Minimized code
after compiling the following code:
use
scalac -decompile Test.tasty
Output
Expectation
and also a ways to reflect on this in tasty reflect
The text was updated successfully, but these errors were encountered: