diff options
author | Seth Tisue <seth@tisue.net> | 2017-03-21 10:35:05 -0700 |
---|---|---|
committer | Seth Tisue <seth@tisue.net> | 2017-03-21 10:35:05 -0700 |
commit | 4b9816100c704fd8ecfb1a8fa66f86e6284c07cb (patch) | |
tree | 5f748bbc562da8803513444375659f7cd96496f5 /test/pending/pos/t3943 | |
parent | 25048bc73741846107c18ed01e0e9f6f07785379 (diff) | |
download | scala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.tar.gz scala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.tar.bz2 scala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.zip |
remove test/pending directory too
it will all stay right there in the Git history to be consulted
anytime we want...
Diffstat (limited to 'test/pending/pos/t3943')
-rw-r--r-- | test/pending/pos/t3943/Outer_1.java | 14 | ||||
-rw-r--r-- | test/pending/pos/t3943/test_2.scala | 8 |
2 files changed, 0 insertions, 22 deletions
diff --git a/test/pending/pos/t3943/Outer_1.java b/test/pending/pos/t3943/Outer_1.java deleted file mode 100644 index 56c8cc7f85..0000000000 --- a/test/pending/pos/t3943/Outer_1.java +++ /dev/null @@ -1,14 +0,0 @@ -public class Outer_1<E> { - abstract class Inner { - abstract public void foo(E e); - } -} - -class Child extends Outer_1<String> { - // the implicit prefix for Inner is Outer<E> instead of Outer<String> - public Inner getInner() { - return new Inner() { - public void foo(String e) { System.out.println("meh "+e); } - }; - } -} diff --git a/test/pending/pos/t3943/test_2.scala b/test/pending/pos/t3943/test_2.scala deleted file mode 100644 index a19db8b226..0000000000 --- a/test/pending/pos/t3943/test_2.scala +++ /dev/null @@ -1,8 +0,0 @@ -object Test extends App { - val x: Child = new Child - x.getInner.foo("meh") -// ^ -// error: type mismatch; -// found : java.lang.String("meh") -// required: E -} |