summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-12 00:07:37 +0000
committerPaul Phillips <paulp@improving.org>2010-11-12 00:07:37 +0000
commit91eff8e6d903a9eab2bc83c120774d623df5ad7d (patch)
tree23b15f42d230452d5f0ac0b7ff6ee9f96766a3d5 /src/compiler/scala/tools/nsc/Global.scala
parent46a921df8152d2535cca577132a2fe323a57ca88 (diff)
downloadscala-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.scala1
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