Skip to content

Commit ac239fd

Browse files
committed
Use ModuleValCreationFlags and ModuleClassCreationFlags
1 parent a3ce771 commit ac239fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2487,8 +2487,8 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
24872487
val mod = dotc.core.Symbols.newCompleteModuleSymbol(
24882488
owner,
24892489
name.toTermName,
2490-
modFlags | Flags.Final | Flags.Lazy | Flags.Module,
2491-
clsFlags | Flags.Final | Flags.Module,
2490+
modFlags | dotc.core.Flags.ModuleValCreationFlags,
2491+
clsFlags | dotc.core.Flags.ModuleClassCreationFlags,
24922492
parents.asInstanceOf, // FIXME
24932493
dotc.core.Scopes.newScope,
24942494
privateWithin)

0 commit comments

Comments
 (0)