Skip to content

Commit c2067f5

Browse files
committed
Use ctx.isAfterTyper
1 parent 928f6b2 commit c2067f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ object PrepareInlineable {
253253
}
254254

255255
def checkInlineMacro(sym: Symbol, rhs: Tree, pos: SourcePosition)(implicit ctx: Context) = {
256-
if (ctx.phase.isTyper) {
256+
if (!ctx.isAfterTyper) {
257257

258258
/** InlineSplice is used to detect cases where the expansion
259259
* consists of a (possibly multiple & nested) block or a sole expression.

0 commit comments

Comments
 (0)