mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
make method return fix: make available for constructor calls; java 8 specific tests; simplify inference
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Make 'bar' return 'Foo'" "true"
|
||||
public class Foo {
|
||||
public Foo(int i) {}
|
||||
|
||||
Foo bar() {
|
||||
return new Foo("");
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Make 'bar' return 'Foo'" "true"
|
||||
public class Foo {
|
||||
public Foo(int i) {}
|
||||
|
||||
String bar() {
|
||||
return new Foo<caret>("");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user