Skip to content

Commit bb9eb23

Browse files
committed
Make FutureDefsOK the default.
We should probably get rid of it. Signal to noise ratio is too low to be useful
1 parent 09399bc commit bb9eb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/Compiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class Compiler {
101101
val start = bootstrap.fresh
102102
.setOwner(defn.RootClass)
103103
.setTyper(new Typer)
104-
.setMode(Mode.ImplicitsEnabled)
105104
.setTyperState(new MutableTyperState(ctx.typerState, new ConsoleReporter()(ctx), isCommittable = true))
105+
.setMode(Mode.ImplicitsEnabled | Mode.FutureDefsOK)
106106
ctx.definitions.init(start) // set context of definitions to start
107107
start.setRunInfo(new RunInfo(start))
108108
def addImport(ctx: Context, sym: Symbol) =

0 commit comments

Comments
 (0)