Skip to content

Commit 01585a0

Browse files
committed
Also patch stdlib classes when compiling from source
1 parent bab59a8 commit 01585a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/typer/Namer.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,7 @@ class Namer { typer: Typer =>
11991199
cls.setNoInitsFlags(parentsKind(parents), untpd.bodyKind(rest))
12001200
if (cls.isNoInitsClass) cls.primaryConstructor.setFlag(StableRealizable)
12011201
processExports(using localCtx)
1202+
defn.patchStdLibClass(denot.asClass)
12021203
}
12031204
}
12041205

0 commit comments

Comments
 (0)