Skip to content

Commit 9e2255c

Browse files
committed
Fix rebase breakage
1 parent 41728c4 commit 9e2255c

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
@@ -3081,7 +3081,7 @@ class Typer extends Namer
30813081
checkEqualityEvidence(tree, pt)
30823082
tree
30833083
}
3084-
else if (methPart(tree).symbol.isAllOf(Inline | Deferred) && !ctx.inInlineMethod) then
3084+
else if (methPart(tree).symbol.isAllOf(Inline | Deferred) && !Inliner.inInlineMethod) then
30853085
errorTree(tree, i"Deferred inline ${methPart(tree).symbol.showLocated} cannot be invoked")
30863086
else if (Inliner.isInlineable(tree) &&
30873087
!ctx.settings.YnoInline.value &&

0 commit comments

Comments
 (0)