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
Now that nothing in the compiler generates label-defs anymore, we
can completely get rid of them.
Since `Labeled` blocks do not exist in Tasty, the `LABEL` flag
disappears from Tasty altogether.
@@ -947,9 +928,6 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
947
928
}
948
929
caseTypes.ClassInfo(_, sym, _, _, _) => primitiveOrClassToBType(sym) // We get here, for example, for genLoadModule, which invokes toTypeKind(moduleClassSymbol.info)
949
930
950
-
caset: MethodType=>// triggers for LabelDefs
951
-
t.resultType.toTypeKind(ct)(storage)
952
-
953
931
/* AnnotatedType should (probably) be eliminated by erasure. However we know it happens for
954
932
* meta-annotated annotations (@(ann @getter) val x = 0), so we don't emit a warning.
955
933
* The type in the AnnotationInfo is an AnnotatedTpe. Tested in jvm/annotations.scala.
@@ -1117,15 +1095,9 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
0 commit comments