Skip to content

Commit 5019997

Browse files
committed
Add missing flag in test/run/quotes-add-erased
1 parent 03a41a6 commit 5019997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/quotes-add-erased/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class erasedParamsMethod extends MacroAnnotation:
1515
assert(methType.hasErasedParams)
1616
assert(methType.erasedParams == List(true, false))
1717

18-
val methSym = Symbol.newMethod(tree.symbol, "takesErased", methType, Flags.EmptyFlags, Symbol.noSymbol)
18+
val methSym = Symbol.newMethod(tree.symbol, "takesErased", methType, Flags.Override, Symbol.noSymbol)
1919
val methDef = DefDef(methSym, _ => Some(Literal(IntConstant(1))))
2020

2121
val clsDef = ClassDef.copy(tree)(name, ctr, parents, self, methDef :: body)

0 commit comments

Comments
 (0)