From bb0f5d9ca72905dfebdc543ebf0bb0aad30383b7 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 23 Jun 2012 14:12:11 -0700 Subject: Added a key comment. The commit message from f4d2678c42 works a lot better up close and personal with the change. --- src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/compiler/scala') diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index bce9f28847..3232bde3b4 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -253,7 +253,9 @@ self => final val InBlock = 1 final val InTemplate = 2 - lazy val ScalaValueClassNames = Seq(tpnme.AnyVal, + // These symbols may not yet be loaded (e.g. in the ide) so don't go + // through definitions to obtain the names. + lazy val ScalaValueClassNames = Seq(tpnme.AnyVal, tpnme.Unit, tpnme.Boolean, tpnme.Byte, -- cgit v1.2.3