mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
KT-1043 'Implement Methods' throws a ClassCastException
#KT-1043 Obsolete
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package foo;
|
||||
|
||||
class JavaClass {
|
||||
|
||||
}
|
||||
|
||||
// KT-1043 'Implement Methods' throws a ClassCastException
|
||||
@@ -0,0 +1,14 @@
|
||||
package foo;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class JavaClass {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public void bar(String price) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// KT-1043 'Implement Methods' throws a ClassCastException
|
||||
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
trait KotlinTrait {
|
||||
fun bar(price : String?)
|
||||
}
|
||||
|
||||
// KT-1043 'Implement Methods' throws a ClassCastException
|
||||
Reference in New Issue
Block a user