From 07255d54926e2cf3ad6ee62e7f234ec4c123c489 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Tue, 8 May 2012 01:05:14 +0200 Subject: test for SI-5534 --- test/pending/pos/t5534.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/pending/pos/t5534.scala (limited to 'test/pending/pos/t5534.scala') 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 -- cgit v1.2.3