summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/package.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-05-11 13:02:53 -0700
committerPaul Phillips <paulp@improving.org>2013-05-11 13:02:53 -0700
commit751daa9b3825543bd04eaa4eab6438f8410f6040 (patch)
tree46d83d8adc9a5916c65a9ae1ca6ab173a2a80d6a /src/compiler/scala/tools/nsc/package.scala
parent1850ddf380789e364813111282af5ff11e65b52c (diff)
downloadscala-751daa9b3825543bd04eaa4eab6438f8410f6040.tar.gz
scala-751daa9b3825543bd04eaa4eab6438f8410f6040.tar.bz2
scala-751daa9b3825543bd04eaa4eab6438f8410f6040.zip
Started eliminating modes.
Consolidating the scattered typer state in Context, where it's relatively easy to keep an eye on, rather than threaded throughout the typer in sneaky/sticky bitmasks. The general pattern will be what was once an explicitly passed around bit in Mode becomes an implicitly propagated-as-appropriate bit in Context. In this commit: ALTmode becomes context mode "PatternAlternative" STARmode becomes context mode "StarPatterns" SUPERCONSTRmode becomes context mode "SuperInit"
Diffstat (limited to 'src/compiler/scala/tools/nsc/package.scala')
-rw-r--r--src/compiler/scala/tools/nsc/package.scala4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/package.scala b/src/compiler/scala/tools/nsc/package.scala
index ee1668a38a..761fd79358 100644
--- a/src/compiler/scala/tools/nsc/package.scala
+++ b/src/compiler/scala/tools/nsc/package.scala
@@ -10,10 +10,6 @@ package object nsc {
val Mode = scala.reflect.internal.Mode
def EXPRmode = Mode.EXPRmode
- def BYVALmode = Mode.BYVALmode
- def POLYmode = Mode.POLYmode
- def TAPPmode = Mode.TAPPmode
- def FUNmode = Mode.FUNmode
type Phase = scala.reflect.internal.Phase
val NoPhase = scala.reflect.internal.NoPhase