Skip to content

Commit

Permalink
quickfix for failing bootstrapped compilation
Browse files Browse the repository at this point in the history
[Cherry-picked fdd6a4a]
  • Loading branch information
kasiaMarek authored and WojciechMazur committed Jul 9, 2024
1 parent 617ad83 commit 941da36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class WithCompilationUnit(
driver.run(uri, source)
given ctx: Context = driver.currentCtx

val unit = driver.currentCtx.run.units.head
private val run = driver.currentCtx.run
val unit = run.units.head
val compilatonUnitContext = ctx.fresh.setCompilationUnit(unit)
val offset = params match
case op: OffsetParams => op.offset()
Expand Down

0 comments on commit 941da36

Please sign in to comment.