diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-10-26 16:19:35 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-11-22 01:35:06 +0100 |
commit | 06a3d47ea9fd1b67b3acba9d115a16d18549e377 (patch) | |
tree | 36311873f40e1410154c50d00abb03715619e8cc /src/dotty/tools/dotc/core/Contexts.scala | |
parent | 0da788c52121e44de6be0cdc7a0c4c6e1b125ff9 (diff) | |
download | dotty-06a3d47ea9fd1b67b3acba9d115a16d18549e377.tar.gz dotty-06a3d47ea9fd1b67b3acba9d115a16d18549e377.tar.bz2 dotty-06a3d47ea9fd1b67b3acba9d115a16d18549e377.zip |
Move sjs, make sure that partest compiles everything in dirs
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Contexts.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala index edc68588d..639c4d111 100644 --- a/src/dotty/tools/dotc/core/Contexts.scala +++ b/src/dotty/tools/dotc/core/Contexts.scala @@ -27,7 +27,7 @@ import reporting._ import collection.mutable import collection.immutable.BitSet import printing._ -import config.{Settings, ScalaSettings, Platform, JavaPlatform, SJSPlatform} +import config.{Settings, ScalaSettings, Platform, JavaPlatform} import language.implicitConversions import DenotTransformers.DenotTransformer import util.Property.Key @@ -550,8 +550,7 @@ object Contexts { } protected def newPlatform(implicit ctx: Context): Platform = - if (settings.scalajs.value) new SJSPlatform - else new JavaPlatform + new JavaPlatform /** The loader that loads the members of _root_ */ def rootLoader(root: TermSymbol)(implicit ctx: Context): SymbolLoader = platform.rootLoader(root) |