diff options
author | Paul Phillips <paulp@improving.org> | 2010-11-12 00:07:37 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-11-12 00:07:37 +0000 |
commit | 91eff8e6d903a9eab2bc83c120774d623df5ad7d (patch) | |
tree | 23b15f42d230452d5f0ac0b7ff6ee9f96766a3d5 /src/compiler/scala/tools/nsc/Global.scala | |
parent | 46a921df8152d2535cca577132a2fe323a57ca88 (diff) | |
download | scala-91eff8e6d903a9eab2bc83c120774d623df5ad7d.tar.gz scala-91eff8e6d903a9eab2bc83c120774d623df5ad7d.tar.bz2 scala-91eff8e6d903a9eab2bc83c120774d623df5ad7d.zip |
Half of an implementation of sealedness for jav...
Half of an implementation of sealedness for java enums. Since it's only
half it's behind -Xexperimental, but it works like a charm for the half
where it works (that being compiling against bytecode.) Need input on
how to approach the source half. References ticket #2442. Review by
moors.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index c2136edbb6..0f05a7fcce 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -222,6 +222,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable def debug = settings.debug.value def deprecation = settings.deprecation.value + def experimental = settings.Xexperimental.value def fatalWarnings = settings.Xwarnfatal.value def logClasspath = settings.Ylogcp.value def printLate = settings.printLate.value |