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 | |
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')
-rw-r--r-- | tests/run/t5040.check (renamed from tests/pending/run/t5040.check) | 0 | ||||
-rw-r--r-- | tests/run/t5040.flags (renamed from tests/pending/run/t5040.flags) | 0 | ||||
-rw-r--r-- | tests/run/t5040.scala (renamed from tests/pending/run/t5040.scala) | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/tests/pending/run/t5040.check b/tests/run/t5040.check index 3f7b5908a..3f7b5908a 100644 --- a/tests/pending/run/t5040.check +++ b/tests/run/t5040.check diff --git a/tests/pending/run/t5040.flags b/tests/run/t5040.flags index 1141f9750..1141f9750 100644 --- a/tests/pending/run/t5040.flags +++ b/tests/run/t5040.flags diff --git a/tests/pending/run/t5040.scala b/tests/run/t5040.scala index 6813c1b27..58d054412 100644 --- a/tests/pending/run/t5040.scala +++ b/tests/run/t5040.scala @@ -1,3 +1,4 @@ +import scala.language.dynamics // originaly used the flag -language:dynamics in t5040.flags, .flags are currently ignored abstract class Prova2 extends Dynamic { def applyDynamic(m: String)(): Unit private def privateMethod() = println("private method") |