Fix EA-126019: Handle 'null' PsiType as nullable Any in "Create" actions
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
class Dep {
|
||||
fun foo(): Any? {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add method 'foo' to 'Dep'" "true"
|
||||
// RUNTIME_WITH_JDK_10
|
||||
class J {
|
||||
void test() {
|
||||
Dep dep = new Dep();
|
||||
var foo = dep.<selection><caret></selection>foo();
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
class Dep {}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add method 'foo' to 'Dep'" "true"
|
||||
// RUNTIME_WITH_JDK_10
|
||||
class J {
|
||||
void test() {
|
||||
Dep dep = new Dep();
|
||||
var foo = dep.<caret>foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user