summaryrefslogtreecommitdiff
path: root/test/files/pos/t2994b.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 /test/files/pos/t2994b.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 'test/files/pos/t2994b.scala')
-rw-r--r--test/files/pos/t2994b.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t2994b.scala b/test/files/pos/t2994b.scala
new file mode 100644
index 0000000000..c9d9cc812b
--- /dev/null
+++ b/test/files/pos/t2994b.scala
@@ -0,0 +1,7 @@
+object Test {
+ trait Bar[X[_]]
+ trait Baz[S[_] <: Bar[S]] {
+ type Apply[T]
+ }
+ trait Foo[V[_] <: Bar[V]] extends Bar[Baz[V]#Apply]
+} \ No newline at end of file