Report unmet trait requirements

#KT-3006 Fixed
This commit is contained in:
Alexander Udalov
2014-08-11 12:26:17 +04:00
parent 18ca935558
commit 47d5f83d04
19 changed files with 234 additions and 14 deletions
@@ -0,0 +1,8 @@
open class Generic<T>
trait A : Generic<Int>
trait B : Generic<String>
class <!UNMET_TRAIT_REQUIREMENT, UNMET_TRAIT_REQUIREMENT!>Y<!> : <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A, B<!>
class Z : <!INCONSISTENT_TYPE_PARAMETER_VALUES!>A, B, Generic<Int>()<!>