Files
kotlin-fork/compiler/testData/constraintSystem/declarations.kt
T
Svetlana Isakova 4f28a0a9a1 KT-8879 Stackoverflow exception on completion from inference
#KT-8879 Fixed
Added ConstraintContext storing 'derivedFrom' variables.
This information is used to prevent infinite recursion:
if a variable was substituted in a type of a bound, it shouldn't be substituted there for the second time.
2015-09-07 17:05:39 +03:00

15 lines
233 B
Kotlin
Vendored

fun foo<T, P, E>() = 42
interface A
interface B : A
interface C : B
interface Consumer<in T>
interface Producer<out T>
interface Inv<T>
interface My<T>
interface Successor<T> : My<T>
interface Two<T, P>
interface Fun<in T, out R>