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
objectTestextendsApp {
classCimplicitdefconv[T<:C: scala.reflect.ClassTag](name: String):T=???deffoo(c: C) =???
foo("test")
}
00:14~/Projects/210x/sandbox (2.10.x)$ st
[[syntax trees at end of typer]] // Test.scalapackage<empty> {
objectTestextendsAnyRefwithApp {
def<init>():Test.type= {
Test.super.<init>();
()
};
classCextends scala.AnyRef {
def<init>():Test.C= {
C.super.<init>();
()
}
};
implicitdefconv[T>:Nothing<:Test.C](name: String)(implicitevidence$1: scala.reflect.ClassTag[T]):T= scala.this.Predef.???;
deffoo(c: Test.C):Nothing= scala.this.Predef.???;
Test.this.foo(Test.this.conv[T]("test")(`package`.this.materializeClassTag[T]()))
}
}
Test.scala:5:error: macro has not been expanded
foo("test")
^
one error found
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: