Use known type substitutor if it exists

This commit is contained in:
Denis Zharkov
2016-01-25 18:37:08 +03:00
parent b442cf9fec
commit 8b828f1d9a
5 changed files with 8 additions and 8 deletions
@@ -1,3 +1,3 @@
open class C<T : C<T>>
class TestOK : C<TestOK>()
class TestFail : C<<!UPPER_BOUND_VIOLATED, UPPER_BOUND_VIOLATED!>C<<!UPPER_BOUND_VIOLATED!>TestFail<!>><!>>()
class TestFail : C<<!UPPER_BOUND_VIOLATED!>C<<!UPPER_BOUND_VIOLATED!>TestFail<!>><!>>()