diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2012-09-19 16:43:44 +0200 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2012-09-19 16:43:44 +0200 |
commit | c215592fde3d70c5924de40d5ff27cb374cee93d (patch) | |
tree | c15c49464f7a69ff7cb942a95a67b78a18de08ec /tools/showPickled | |
parent | b9fd3f713d4c0122c1411315ad25049d117df57c (diff) | |
download | scala-c215592fde3d70c5924de40d5ff27cb374cee93d.tar.gz scala-c215592fde3d70c5924de40d5ff27cb374cee93d.tar.bz2 scala-c215592fde3d70c5924de40d5ff27cb374cee93d.zip |
Fix problem with names encoding in scalap.
The refactoring performed in 020053c321 made use of naming encoding
more consisted but introduced a regression in scalap. The problem
is that the old encoder that scalap had didn't escape any characters
that were not included in its opcode list.
`NameTransformer` performs full encoding so it also encodes dots
that are being used as separators for packages. Therefore, in order
to retain the old behaviour we need to split the name by dots before
feeding each fragment to `NameTransformer`.
Review by @paulp.
Diffstat (limited to 'tools/showPickled')
0 files changed, 0 insertions, 0 deletions