diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-12-21 22:40:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 22:40:36 +0100 |
commit | 404ce763d0f9ef82dae52e6aff3ec20950c67e29 (patch) | |
tree | e1c1b4ac13d26c214816b2f0582e573298c741f4 /compiler/src/dotty/tools/dotc/core/TypeOps.scala | |
parent | ee4f4a109b3ec3190886c75bb6d140087c33287d (diff) | |
parent | 9568eba6de7e881c6003dbfc95e46e6f83fa2e7b (diff) | |
download | dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.tar.gz dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.tar.bz2 dotty-404ce763d0f9ef82dae52e6aff3ec20950c67e29.zip |
Merge pull request #1826 from dotty-staging/fix-compile-stdlib
Make more parts of stdlib compile
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/TypeOps.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/TypeOps.scala b/compiler/src/dotty/tools/dotc/core/TypeOps.scala index db73daaa2..c2a7d7ea6 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeOps.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeOps.scala @@ -552,7 +552,7 @@ trait TypeOps { this: Context => // TODO: Make standalone object. def dynamicsEnabled = featureEnabled(defn.LanguageModuleClass, nme.dynamics) - def testScala2Mode(msg: String, pos: Position) = { + def testScala2Mode(msg: => String, pos: Position) = { if (scala2Mode) migrationWarning(msg, pos) scala2Mode } |