Exception fix: diagnose an error for a generic type which is a subtype of itself, a set of tests #EA-64453 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-06-01 19:34:50 +03:00
parent 46d5290f70
commit d77c6eb30e
12 changed files with 68 additions and 0 deletions
@@ -0,0 +1,4 @@
fun bar() {
fun <T: <!CYCLIC_GENERIC_UPPER_BOUND!>T?<!>> foo() {}
foo()
}