We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5eaa8 commit df1b5edCopy full SHA for df1b5ed
compiler/src/dotty/tools/dotc/transform/TreeChecker.scala
@@ -68,7 +68,9 @@ class TreeChecker extends Phase with SymTransformer {
68
69
def transformSym(symd: SymDenotation)(using Context): SymDenotation = {
70
val sym = symd.symbol
71
- Checking.checkWellFormedType(symd.info)
+
72
+ if symd.isCompleted then
73
+ Checking.checkWellFormedType(symd.info)
74
75
if (sym.isClass && !sym.isAbsent()) {
76
val validSuperclass = sym.isPrimitiveValueClass || defn.syntheticCoreClasses.contains(sym) ||
0 commit comments