diff options
Diffstat (limited to 'sources/scala/tools/nsc/symtab/Names.scala')
-rwxr-xr-x | sources/scala/tools/nsc/symtab/Names.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/tools/nsc/symtab/Names.scala b/sources/scala/tools/nsc/symtab/Names.scala index d5a51fc66d..ed9aad85fd 100755 --- a/sources/scala/tools/nsc/symtab/Names.scala +++ b/sources/scala/tools/nsc/symtab/Names.scala @@ -254,8 +254,8 @@ class Names { val str = toString(); val res = NameTransformer.encode(str); if (res == str) this - else if (isTypeName) newTypeName(str) - else newTermName(str) + else if (isTypeName) newTypeName(res) + else newTermName(res) } /** Replace $op_name by corresponding operator symbol */ |