author | wenzelm |
Wed, 10 Jun 2009 11:40:49 +0200 | |
changeset 31548 | 2db8db85c053 |
parent 31547 | 398c0f48a99e |
child 31552 | ef8163cfc540 |
--- a/src/Pure/General/symbol.scala Wed Jun 10 11:31:36 2009 +0200 +++ b/src/Pure/General/symbol.scala Wed Jun 10 11:40:49 2009 +0200 @@ -134,7 +134,7 @@ val ch = new String(Character.toChars(code)) } yield (sym, ch) (new Recoder(mapping), - new Recoder(for ((x, y) <- mapping) yield (y, x))) + new Recoder(mapping map { case (x, y) => (y, x) })) } def decode(text: String) = decoder.recode(text)