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
println(s"TransformDefDef for constructor ${sym.name} of class ${cls.name}, adding reified params: ${newParamDefs.map(_.name)}")
190
+
ifDEBUGthenprintln(s"AddReifiedTypes: TransformDefDef for constructor ${sym.name} of class ${cls.name}, adding reified params: ${newParamDefs.map(_.name)}")
ifDEBUGthen println(s"TransformDefDef for tree: ${tree.show} Adding reified value at end for method ${sym.name} with type params: ${typeParams.map(_.name)}")
211
+
ifDEBUGthen println(s"AddReifiedTypes: TransformDefDef for tree: ${tree.show} Adding reified value at end for method ${sym.name} with type params: ${typeParams.map(_.name)}")
ifDEBUGthen println(s"TransformDefDef for tree: ${tree.show} Adding reified value at end for method ${sym.name} with type params: ${typeParams.map(_.name)}")
218
+
ifDEBUGthen println(s"AddReifiedTypes: TransformDefDef for tree: ${tree.show} Adding reified value at end for method ${sym.name} with type params: ${typeParams.map(_.name)}")
@@ -276,7 +276,7 @@ class AddReifiedTypes extends MiniPhase with InfoTransformer {
276
276
valfunType= fun.tpe.widen
277
277
valresType= funType match {
278
278
casemt: MethodType=>
279
-
ifDEBUGthen println(s"TransformApply tree type: ${tree.tpe.show}, method type: ${mt.resType.show}")
279
+
ifDEBUGthen println(s"AddReifiedTypes: TransformApply tree type: ${tree.tpe.show}, method type: ${mt.resType.show}")
280
280
mt.resType
281
281
case _ => tree.tpe
282
282
}
@@ -287,7 +287,7 @@ class AddReifiedTypes extends MiniPhase with InfoTransformer {
287
287
casemt: MethodType=> mt.resType
288
288
case _ => resType
289
289
}
290
-
ifDEBUGthen println(s"Transforming Apply: ${tree.show}, fun type: ${funType.show}, res type: ${resType.show}, with reified args: ${reifiedArgs.map(_.show)}")
290
+
ifDEBUGthen println(s"AddReifiedTypes: Transforming Apply: ${tree.show}, fun type: ${funType.show}, res type: ${resType.show}, with reified args: ${reifiedArgs.map(_.show)}")
@@ -335,8 +335,8 @@ class AddReifiedTypes extends MiniPhase with InfoTransformer {
335
335
caseSome(sym) =>
336
336
ref(sym)
337
337
caseNone=>
338
-
println(s"should not be here! ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${ctx.owner.name}");
339
-
report.error(s"ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${ctx.owner.name}")
338
+
println(s"AddReifiedTypes: should not be here! ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${ctx.owner.name}");
339
+
report.error(s"AddReifiedTypes: ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${ctx.owner.name}")
println(s"should not be here! ERROR: createReifiedValue: no reified field found for class type param ${paramName} in class ${paramOwner.name}");
353
-
report.error(s"ERROR: createReifiedValue: no reified field found for class type param ${paramName} in class ${paramOwner.name}")
352
+
println(s"AddReifiedTypes: should not be here! ERROR: createReifiedValue: no reified field found for class type param ${paramName} in class ${paramOwner.name}");
353
+
report.error(s"AddReifiedTypes: ERROR: createReifiedValue: no reified field found for class type param ${paramName} in class ${paramOwner.name}")
@@ -360,8 +360,8 @@ class AddReifiedTypes extends MiniPhase with InfoTransformer {
360
360
valsym= reifiedSyms(paramOwner)(paramName)
361
361
ref(sym)
362
362
else {
363
-
println(s"should not be here! ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${paramOwner.name}");
364
-
report.error(s"ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${paramOwner.name}")
363
+
println(s"AddReifiedTypes: should not be here! ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${paramOwner.name}");
364
+
report.error(s"AddReifiedTypes: ERROR: createReifiedValue: no reified sym found for type param ${paramName} in owner ${paramOwner.name}")
0 commit comments