diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-03 17:23:05 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-04 09:50:51 +0100 |
commit | 10c745ae976f8e488dcde66587d0741890112c13 (patch) | |
tree | a1719b9544985f9e40187443d01b2bbe1ffee378 /test/files/run/t6541-option.scala | |
parent | d1a76d5af7faa12ebebea0923812af26c40eebc9 (diff) | |
download | scala-10c745ae976f8e488dcde66587d0741890112c13.tar.gz scala-10c745ae976f8e488dcde66587d0741890112c13.tar.bz2 scala-10c745ae976f8e488dcde66587d0741890112c13.zip |
Fix default value for ScalaVersionSetting
The default value was NoScalaVersion before, because tryToSet (where
the default was supposed to be set) is not called at all if the option
is not specified.
The initial value of Xmigration is set to NoScalaVersion (which it was
before, the AnyScalaVersion argument was ignored). AnyScalaVersion
would be wrong, it would give a warning in `Map(1 -> "eis").values`
if the option was not specified. See tests.
Diffstat (limited to 'test/files/run/t6541-option.scala')
0 files changed, 0 insertions, 0 deletions