Skip to content

Commit f2f082d

Browse files
committed
Fix rebase breakage
1 parent cffd862 commit f2f082d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3083,7 +3083,7 @@ class Typer extends Namer
30833083
checkEqualityEvidence(tree, pt)
30843084
tree
30853085
}
3086-
else if (methPart(tree).symbol.isAllOf(Inline | Deferred) && !ctx.inInlineMethod) then
3086+
else if (methPart(tree).symbol.isAllOf(Inline | Deferred) && !Inliner.inInlineMethod) then
30873087
errorTree(tree, i"Deferred inline ${methPart(tree).symbol.showLocated} cannot be invoked")
30883088
else if (Inliner.isInlineable(tree) &&
30893089
!ctx.settings.YnoInline.value &&

0 commit comments

Comments
 (0)