diff options
author | Paul Phillips <paulp@improving.org> | 2010-11-18 01:11:37 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-11-18 01:11:37 +0000 |
commit | a86453a5eed21abf5dfa5fd1d0321c8eb0298302 (patch) | |
tree | 360448d50fe40940a3d9dfb255801a93b28da07f /src/compiler/scala/tools/nsc/symtab/Definitions.scala | |
parent | 48451f980e1a252a0470e72dfd944b1eee52891b (diff) | |
download | scala-a86453a5eed21abf5dfa5fd1d0321c8eb0298302.tar.gz scala-a86453a5eed21abf5dfa5fd1d0321c8eb0298302.tar.bz2 scala-a86453a5eed21abf5dfa5fd1d0321c8eb0298302.zip |
Some refinement of the error messages when the ...
Some refinement of the error messages when the found and required types
have the same simple names. No longer must we watch people scratch their
heads at such messages as:
found : scala.collection.Set[String]
required: Set[String]
Now so clear you could enjoy a movie through it:
found : scala.collection.Set[String]
required: scala.collection.immutable.Set[String]
No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/Definitions.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Definitions.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Definitions.scala b/src/compiler/scala/tools/nsc/symtab/Definitions.scala index ef80177464..167a067485 100644 --- a/src/compiler/scala/tools/nsc/symtab/Definitions.scala +++ b/src/compiler/scala/tools/nsc/symtab/Definitions.scala @@ -150,6 +150,7 @@ trait Definitions extends reflect.generic.StandardDefinitions { // fundamental modules lazy val PredefModule: Symbol = getModule("scala.Predef") + lazy val PredefModuleClass = PredefModule.tpe.typeSymbol def Predef_classOf = getMember(PredefModule, nme.classOf) def Predef_error = getMember(PredefModule, nme.error) def Predef_identity = getMember(PredefModule, nme.identity) |