KT-3853 ISE on resolving function implementation from trait from Java
The fix is simple and dirty, because the related code will be removed soon anyways. Fix is necessary for compiling Kara. #KT-3853 fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
trait Trait {
|
||||
open fun f(a: String) {
|
||||
}
|
||||
}
|
||||
|
||||
open class Class : Trait {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal open class Class : test.Trait {
|
||||
/*primary*/ public constructor Class()
|
||||
internal open override /*1*/ /*fake_override*/ fun f(/*0*/ a: jet.String): jet.Unit
|
||||
}
|
||||
|
||||
internal trait Trait {
|
||||
internal open fun f(/*0*/ a: jet.String): jet.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user