summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2006-09-22 12:29:49 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2006-09-22 12:29:49 +0000
commitc8964378fb5f7b0087120dcb2105315bd1d45201 (patch)
tree8fbfc37df1203eb306f9e29f0bbbd862a095c421 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala
parentf5934f7970816ece828d1f453d3ea45dfe3bf896 (diff)
downloadscala-c8964378fb5f7b0087120dcb2105315bd1d45201.tar.gz
scala-c8964378fb5f7b0087120dcb2105315bd1d45201.tar.bz2
scala-c8964378fb5f7b0087120dcb2105315bd1d45201.zip
Fixed scala doc to include docs for abstract va...
Fixed scala doc to include docs for abstract variables and vars. Fixed display of traits. Also updated the IDE to work in the same way.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Contexts.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
index 69782a7483..f7e8803a64 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -19,6 +19,7 @@ trait Contexts requires Analyzer {
val NoContext = new Context {
override def implicitss: List[List[ImplicitInfo]] = List()
+ outer = this;
}
NoContext.enclClass = NoContext
NoContext.enclMethod = NoContext
@@ -68,7 +69,6 @@ trait Contexts requires Analyzer {
sc = sc.outer
}
}
-
class Context {
var unit: CompilationUnit = _
var tree: Tree = _ // Tree associated with this context