[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// FILE: GA.kt
|
||||
|
||||
package test.x
|
||||
|
||||
open class GA<T> protected constructor()
|
||||
|
||||
// FILE: Main.kt
|
||||
package test
|
||||
|
||||
import test.x.GA
|
||||
|
||||
class C : GA<Any>() {
|
||||
companion object {
|
||||
fun bar() = GA<Any>() // Should be error
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
C.bar()
|
||||
}
|
||||
Reference in New Issue
Block a user