diff options
author | Nicolas Stucki <nicolas.stucki@gmail.com> | 2016-08-24 15:04:51 +0200 |
---|---|---|
committer | Nicolas Stucki <nicolas.stucki@gmail.com> | 2016-09-05 13:45:50 +0200 |
commit | ba65dd99eccdad9d67ea1067c0ea0c24c794455b (patch) | |
tree | 0725fd68b26e0e4db26b4a55fec1334b01a1f5a4 /tests/pending/run | |
parent | bd54fd04dada033836d2b9113e40b9485a52522a (diff) | |
download | dotty-ba65dd99eccdad9d67ea1067c0ea0c24c794455b.tar.gz dotty-ba65dd99eccdad9d67ea1067c0ea0c24c794455b.tar.bz2 dotty-ba65dd99eccdad9d67ea1067c0ea0c24c794455b.zip |
Fix #1470: Fix dynamic selection in presence of inaccessible members.
Diffstat (limited to 'tests/pending/run')
-rw-r--r-- | tests/pending/run/t5040.check | 1 | ||||
-rw-r--r-- | tests/pending/run/t5040.flags | 1 | ||||
-rw-r--r-- | tests/pending/run/t5040.scala | 11 |
3 files changed, 0 insertions, 13 deletions
diff --git a/tests/pending/run/t5040.check b/tests/pending/run/t5040.check deleted file mode 100644 index 3f7b5908a..000000000 --- a/tests/pending/run/t5040.check +++ /dev/null @@ -1 +0,0 @@ -applyDynamic diff --git a/tests/pending/run/t5040.flags b/tests/pending/run/t5040.flags deleted file mode 100644 index 1141f9750..000000000 --- a/tests/pending/run/t5040.flags +++ /dev/null @@ -1 +0,0 @@ --language:dynamics diff --git a/tests/pending/run/t5040.scala b/tests/pending/run/t5040.scala deleted file mode 100644 index 6813c1b27..000000000 --- a/tests/pending/run/t5040.scala +++ /dev/null @@ -1,11 +0,0 @@ -abstract class Prova2 extends Dynamic { - def applyDynamic(m: String)(): Unit - private def privateMethod() = println("private method") -} - -object Test extends dotty.runtime.LegacyApp { - val prova= new Prova2 { - def applyDynamic(m: String)() = println("applyDynamic") - } - prova.privateMethod() -} |