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 7ea2810 commit 38923deCopy full SHA for 38923de
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -167,7 +167,6 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
167
if (c.owner eq c.outer.owner) markAsMacro(c.outer)
168
else if (c.owner.isTransparentMethod) {
169
c.owner.setFlag(Macro)
170
- c.owner.resetFlag(Erased) // FIXME: Macros should be Erased, but that causes problems right now
171
}
172
else if (!c.outer.owner.is(Package)) markAsMacro(c.outer)
173
0 commit comments