functional expressions: push down conflicts

This commit is contained in:
Anna Kozlova
2014-04-08 12:18:33 +02:00
parent d8ed05dbfa
commit 05fb5ed27b
7 changed files with 90 additions and 4 deletions
@@ -0,0 +1,12 @@
interface Base {
default void foo() {
System.out.println("Hi there.");
}
void ba<caret>r();
}
class Test {
{
Base base = () -> {};
}
}
@@ -0,0 +1,14 @@
interface Base {
default void foo<caret>() {
System.out.println("Hi there.");
}
void bar();
}
class Test {
{
Base base = () -> {};
}
}
class Child implements Base {}
@@ -0,0 +1,15 @@
interface Base {
void bar();
}
class Test {
{
Base base = () -> {};
}
}
class Child implements Base {
public void foo() {
System.out.println("Hi there.");
}
}
@@ -0,0 +1,11 @@
interface Base {
default void foo() {
System.out.println("Hi there.");
}
}
class Test {
{
Base base = () -> {};
}
}