aboutsummaryrefslogtreecommitdiff
path: root/tests/run/generic/Color.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-09 23:16:59 +1100
committerMartin Odersky <odersky@gmail.com>2017-04-04 13:29:38 +0200
commit7a7db73ae9738f6ed63772851fa5e9820628b015 (patch)
tree2c5239ec770f01e4f33374393eccfd72332bf332 /tests/run/generic/Color.scala
parent2be70e6019cff01d8a4bc40b90614c64d5d638ff (diff)
downloaddotty-7a7db73ae9738f6ed63772851fa5e9820628b015.tar.gz
dotty-7a7db73ae9738f6ed63772851fa5e9820628b015.tar.bz2
dotty-7a7db73ae9738f6ed63772851fa5e9820628b015.zip
Link generic test to actual implementations of Enum and EnumValues
These are now implemented in scala.runtime.
Diffstat (limited to 'tests/run/generic/Color.scala')
-rw-r--r--tests/run/generic/Color.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/generic/Color.scala b/tests/run/generic/Color.scala
index 0a0f3f1e5..183f18349 100644
--- a/tests/run/generic/Color.scala
+++ b/tests/run/generic/Color.scala
@@ -12,7 +12,7 @@ sealed trait Color extends Enum
object Color {
- private val $values = new EnumValues[Color]
+ private val $values = new runtime.EnumValues[Color]
def valueOf: Int => Color = $values
def values = $values.values