Permalink
Browse files

test for SI-5534

  • Loading branch information...
xeno-by committed May 7, 2012
1 parent 7cac633 commit 07255d54926e2cf3ad6ee62e7f234ec4c123c489
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/pending/pos/t5534.scala
@@ -0,0 +1,11 @@
+object Phrase extends Enumeration {
+ type Phrase = Value
+ val PHRASE1 = Value("My phrase 1")
+ val PHRASE2 = Value("My phrase 2")
+}
+
+class Entity(text:String)
+
+object Test {
+ val myMapWithPhrases = Phrase.values.map(p => (p -> new Entity(p.toString))).toMap
+}

0 comments on commit 07255d5

Please sign in to comment.