mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix some empty stack exceptions during dfa analysis
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class Foo {
|
||||
|
||||
boolean foo(Object o, final PairFunction<String, ElementType, Boolean> fun){
|
||||
boolean result = true;
|
||||
result |= fun.fun(path);
|
||||
if (o instanceof String) {
|
||||
((String) o).substring(<caret>)
|
||||
}
|
||||
}
|
||||
|
||||
void foo(String s) {}
|
||||
}
|
||||
|
||||
interface PairFunction<T, V, U> {
|
||||
U fun(T t, V v);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user