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
scala>traitTextendsAny { deffoo=1}; classC(vala:Any) extendsAnyValwithT { overridedeffoo=super[T].foo }
exception when typing $this.super[T].foo()/classscala.reflect.internal.Trees$ApplyT does not name a parent classof <none> in file <console>
scala.reflect.internal.Types$TypeError:T does not name a parent classof <none>
...
==Enclosing template or block ==Apply( // def foo(): Int in trait T
$this.super[T]."foo"// def foo(): Int in trait T, tree.tpe=()IntNil
)
==Expandedtypeof tree ==ErasedValueType(C)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: