Skip to content

Commit

Permalink
quickfix for failing bootstrapped compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Jun 24, 2024
1 parent 4d7b2a4 commit fdd6a4a
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 fdd6a4a

Please sign in to comment.