We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def
tracked
0ea05aa
//> using scala 3.nightly import scala.language.experimental.modularity def Test = tracked val x = 1 val _: 1 = x
-- [E156] Syntax Error: wiadro/tracked-val-weaker.scala:6:14 --------- 6 | tracked val x = 1 | ^^^^^^^^^^^^^^^^^ | Modifier tracked is not allowed for this definition -- [E007] Type Mismatch Error: wiadro/tracked-val-weaker.scala:7:13 -- 7 | val _: 1 = x | ^ | Found: (x : Int) | Required: (1 : Int) | | longer explanation available when compiling with `-explain`
Successfully compile without errors.
The text was updated successfully, but these errors were encountered:
KacperFKorban
Successfully merging a pull request may close this issue.
Compiler version
0ea05aa
Minimized code
Output
Expectation
Successfully compile without errors.
The text was updated successfully, but these errors were encountered: