You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- [E172] TypeError:----------------------------------------------------------1|classTest { summon[ValueOf[this.type]] }
|^|No singleton value available for (Test.this:Test); eligible singleton types for `ValueOf` synthesis include literals and stable paths.
1 error found
Expectation
This a singleton type with a singleton value that can only ever be created in exactly one way. The compiler should be able to synthesize this like it does for any other singleton value
The text was updated successfully, but these errors were encountered:
Compiler version
3.6.x, 3.7.0-RC4
Minimized code
Output
Expectation
This a singleton type with a singleton value that can only ever be created in exactly one way. The compiler should be able to synthesize this like it does for any other singleton value
The text was updated successfully, but these errors were encountered: