reuse utility method; ensure unknown functional type reduced to Object before create new psi

EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
This commit is contained in:
Anna.Kozlova
2016-04-22 16:15:16 +02:00
parent 1a2b94105e
commit b1645e3ae5
7 changed files with 28 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
// "Create local variable 'a'" "true"
class C {
void foo() {
(s) -> {
Object a = s;
};
}
}

View File

@@ -0,0 +1,8 @@
// "Create local variable 'a'" "true"
class C {
void foo() {
(s) -> {
<caret>a = s;
};
}
}