summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2010-03-08 14:27:48 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2010-03-08 14:27:48 +0000
commit13f24056a444fd5038cebdb294a0959bfe979492 (patch)
tree9084c7312fbdcf9d1eb075bc5a4bfc9cfd72d14a /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
parentb7c17993c61d453c3069a14d66ada6fb7c3301c4 (diff)
downloadscala-13f24056a444fd5038cebdb294a0959bfe979492.tar.gz
scala-13f24056a444fd5038cebdb294a0959bfe979492.tar.bz2
scala-13f24056a444fd5038cebdb294a0959bfe979492.zip
closes #2994
make normalize slightly more aggressive in loading symbol info, while ) tolerating the righteous cycle (use sym.info.typeParameters instead ) of unsafeParams this is needed to make sure higher-kinded types have ) their type parameters (otherwise we'd get a PolyType with NoSymbol for ) typeParams )
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index 1c5fb05a72..8b9ed69f47 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -1840,7 +1840,7 @@ self =>
}
val nameOffset = in.offset
val pname =
- (if (in.token == USCORE) { // @M! also allow underscore
+ (if (in.token == USCORE) { // TODO AM: freshName(o2p(in.skipToken()), "_$$"), will need to update test suite
in.nextToken()
nme.WILDCARD
} else ident()).toTypeName