Skip to content

Commit 37b6df4

Browse files
committed
Export run context
1 parent 46ad05f commit 37b6df4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dotty/tools/dotc/Run.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ class Run(comp: Compiler)(implicit ctx: Context) {
8282
compileSources(List(new SourceFile(virtualFile)))
8383
}
8484

85+
/** The context created for this run */
86+
def runContext = ctx
87+
8588
/** Print summary; return # of errors encountered */
8689
def printSummary(): Reporter = {
8790
ctx.runInfo.printMaxConstraint()

0 commit comments

Comments
 (0)