Report unmet trait requirements
#KT-3006 Fixed
This commit is contained in:
@@ -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>()<!>
|
||||
Reference in New Issue
Block a user