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,10 @@
package
internal final class My {
public constructor My()
internal final val </*0*/ T : [ERROR : Cyclic upper bound: T?]> prop: [ERROR : ?]
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
internal final fun </*0*/ T : [ERROR : Cyclic upper bound: T?]> foo(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}