detect type parameters cyclic inference

This commit is contained in:
anna
2013-05-07 17:00:57 +02:00
parent 3e8ef273d8
commit 2fe4b2c78a
3 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
class Test<<error descr="Cyclic inheritance involving 'T'"></error>T extends T> {}
class Test1<<error descr="Cyclic inheritance involving 'T'"></error>T extends S, S extends T> {}