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
traitTC[T]:typeXgiven [T:TCastc](usingx: tc.X):TC[List[T]] with {}
Output
--Error: with_and_as_syntax.scala:3:26---3|given [T:TCastc](usingx: tc.X):TC[List[T]] with {}
|^|non-privategiveninstance x in classgiven_TC_List refers to privategiveninstance tc
|in its typesignature given_TC_List.this.tc.X
Expectation
The code should compile without errors.
The text was updated successfully, but these errors were encountered:
Compiler version
3.6.4
Minimized code
Output
Expectation
The code should compile without errors.
The text was updated successfully, but these errors were encountered: