Skip to content

Commit

Permalink
test for SI-5534
Browse files Browse the repository at this point in the history
  • Loading branch information
xeno-by committed May 7, 2012
1 parent 7cac633 commit 07255d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 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.