diff options
author | Paul Phillips <paulp@improving.org> | 2012-07-13 09:55:05 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-07-13 10:21:39 -0700 |
commit | d9c9e58ebdaf674b525df0264d3cf7b35beb5902 (patch) | |
tree | f264594b8b4b555e764feabfcca87d1891dc1082 /src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala | |
parent | ae2aa644bb19ec59c896b3a2e6db604d2a915010 (diff) | |
download | scala-d9c9e58ebdaf674b525df0264d3cf7b35beb5902.tar.gz scala-d9c9e58ebdaf674b525df0264d3cf7b35beb5902.tar.bz2 scala-d9c9e58ebdaf674b525df0264d3cf7b35beb5902.zip |
Removed AestheticSettings.
Review by @odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala index 5465a3b47f..8ca98a39c3 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala @@ -77,7 +77,7 @@ trait SyntheticMethods extends ast.TreeDSL { // like Tags and Arrays which are not robust and infer things // which they shouldn't. val accessorLub = ( - if (opt.experimental) { + if (settings.Xexperimental.value) { global.weakLub(accessors map (_.tpe.finalResultType))._1 match { case RefinedType(parents, decls) if !decls.isEmpty => intersectionType(parents) case tp => tp |