Skip to content

Commit 38923de

Browse files
committed
Allow macro definitions to be erased
1 parent 7ea2810 commit 38923de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/transform/PostTyper.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
167167
if (c.owner eq c.outer.owner) markAsMacro(c.outer)
168168
else if (c.owner.isTransparentMethod) {
169169
c.owner.setFlag(Macro)
170-
c.owner.resetFlag(Erased) // FIXME: Macros should be Erased, but that causes problems right now
171170
}
172171
else if (!c.outer.owner.is(Package)) markAsMacro(c.outer)
173172

0 commit comments

Comments
 (0)