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 96bbc1d commit 78dc699Copy full SHA for 78dc699
compiler/src/dotty/tools/dotc/transform/Recheck.scala
@@ -314,7 +314,7 @@ abstract class Recheck extends Phase, SymTransformer:
314
recheckBlock(tree.stats, tree.expr, pt)
315
316
def recheckInlined(tree: Inlined, pt: Type)(using Context): Type =
317
- recheckBlock(tree.bindings, tree.expansion, pt)
+ recheckBlock(tree.bindings, tree.expansion, pt)(using inlineContext(tree.call))
318
319
def recheckIf(tree: If, pt: Type)(using Context): Type =
320
recheck(tree.cond, defn.BooleanType)
0 commit comments