diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-15 15:17:48 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-29 10:33:23 +0200 |
commit | 0c23687055ddb902dd1802cb48e122cc5b02082e (patch) | |
tree | 8621f9f875c6c520e88f0bd45dcb09ff7196c3a5 /compiler/src | |
parent | cd345b43378a24a75a78d699546a1f8964efc88f (diff) | |
download | dotty-0c23687055ddb902dd1802cb48e122cc5b02082e.tar.gz dotty-0c23687055ddb902dd1802cb48e122cc5b02082e.tar.bz2 dotty-0c23687055ddb902dd1802cb48e122cc5b02082e.zip |
Stylistic changes to `Compiler` and `DPConsoleRunner`
Diffstat (limited to 'compiler/src')
-rw-r--r-- | compiler/src/dotty/tools/dotc/Compiler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/Compiler.scala b/compiler/src/dotty/tools/dotc/Compiler.scala index efde897cd..0d3fb5821 100644 --- a/compiler/src/dotty/tools/dotc/Compiler.scala +++ b/compiler/src/dotty/tools/dotc/Compiler.scala @@ -129,7 +129,7 @@ class Compiler { .setMode(Mode.ImplicitsEnabled) .setTyperState(new MutableTyperState(ctx.typerState, ctx.typerState.reporter, isCommittable = true)) .setFreshNames(new FreshNameCreator.Default) - ctx.initialize()(start) // re-initialize the base context with start + ctx.initialize()(start) // re-initialize the base context with start def addImport(ctx: Context, refFn: () => TermRef) = ctx.fresh.setImportInfo(ImportInfo.rootImport(refFn)(ctx)) (start.setRunInfo(new RunInfo(start)) /: defn.RootImportFns)(addImport) |