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
3.0.0-RC1
class Foo: def test: Unit = ??? match case i @ given Int =>
sbt:scala3> scalac -Ythrough-tasty Foo.scala -Xprint:inlining result of Foo.scala after inlining: package <empty> { @scala.annotation.internal.SourceFile("Foo.scala") class Foo() extends Object( ) { def test: Unit = ??? match { case given i @ _:Int => () } } } Compiling from .tasty sources result of /Users/nicolasstucki/GitHub/dotty/out/from-tasty-tmp2033092918167241665/from-source/Foo.class after inlining: package <empty> { @scala.annotation.internal.SourceFile("Foo.scala") class Foo() extends Object( ) { def test: Unit = ??? match { case i @ _:Int => () } } }
44: CASEDEF(22) 46: BIND(17) 15 [i] 49: TYPEREF 16 [Nothing] 51: SHAREDtype 24 53: TYPED(10) 55: IDENT 17 [_] 57: TYPEREF 18 [Int] 59: SHAREDtype 34 61: IDENTtpt 18 [Int] 63: SHAREDtype 57
Given flag should be included in tasty.
The text was updated successfully, but these errors were encountered:
Add missing flags from case bindings in TASTy
39d07ec
Fixes scala#11594
6b19365
Discovered in #11593
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Compiler version
3.0.0-RC1
Minimized example
Output
Expectation
Given flag should be included in tasty.
The text was updated successfully, but these errors were encountered: