diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-05-08 01:05:14 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-05-08 01:06:32 +0200 |
commit | 07255d54926e2cf3ad6ee62e7f234ec4c123c489 (patch) | |
tree | 65255780e660a079aa035c2c176431d5892dc10f /test/pending/pos | |
parent | 7cac6334d4437ff54c4979799574045501f64135 (diff) | |
download | scala-07255d54926e2cf3ad6ee62e7f234ec4c123c489.tar.gz scala-07255d54926e2cf3ad6ee62e7f234ec4c123c489.tar.bz2 scala-07255d54926e2cf3ad6ee62e7f234ec4c123c489.zip |
test for SI-5534
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t5534.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pending/pos/t5534.scala b/test/pending/pos/t5534.scala new file mode 100644 index 0000000000..834c4fd68d --- /dev/null +++ b/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 +}
\ No newline at end of file |