Skip to content

Commit

Permalink
Fix rebase breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Aug 7, 2023
1 parent 94b2717 commit 31494b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/Recheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ abstract class Recheck extends Phase, SymTransformer:
recheckBlock(mdef :: Nil, expr)

def recheckInlined(tree: Inlined, pt: Type)(using Context): Type =
recheckBlock(tree.bindings, tree.expansion)(using inlineContext(tree.call))
recheckBlock(tree.bindings, tree.expansion)(using inlineContext(tree))

def recheckIf(tree: If, pt: Type)(using Context): Type =
recheck(tree.cond, defn.BooleanType)
Expand Down

0 comments on commit 31494b9

Please sign in to comment.