-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #898 - Fix supplementary characters
This was an issue in `codec-jvm` - it was not handling supplementary characters in Modified UTF-8 properly. It has been fixed and a new test has been added.
- Loading branch information
Showing
6 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
Submodule codec-jvm
updated
5 files
+6 −0 | src/Codec/JVM/ASM/Code.hs | |
+10 −2 | src/Codec/JVM/ASM/Code/Instr.hs | |
+24 −1 | src/Codec/JVM/ASM/Code/Types.hs | |
+7 −1 | src/Codec/JVM/Attr.hs | |
+35 −4 | src/Codec/JVM/Encoding.hs |
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
tests/suite/basic/run/UnicodeTest.hs → tests/suite/basic/run/Unicode.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tests/suite/basic/run/UnicodeTest.stdout → tests/suite/basic/run/Unicode.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
𐀀 | ||
😀 | ||
| ||
7 | ||
S | ||
△ | ||
☃ | ||
¥ | ||
n̂ | ||
True | ||
False | ||
True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
tests/suite/similar-names/fail/sim01.hs:4:1: error: | ||
tests/suite/similar-names/fail/simfail01.hs:4:1: error: | ||
Multiple declarations with names differing only in case. | ||
Declared at: tests/suite/similar-names/fail/sim01.hs:1:24 | ||
tests/suite/similar-names/fail/sim01.hs:4:1 | ||
Declared at: tests/suite/similar-names/fail/simfail01.hs:1:24 | ||
tests/suite/similar-names/fail/simfail01.hs:4:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
tests/suite/similar-names/fail/sim02.hs:7:11: error: | ||
tests/suite/similar-names/fail/simfail02.hs:7:11: error: | ||
Multiple declarations with names differing only in case. | ||
Declared at: tests/suite/similar-names/fail/sim02.hs:5:23 | ||
tests/suite/similar-names/fail/sim02.hs:7:11 | ||
Declared at: tests/suite/similar-names/fail/simfail02.hs:5:23 | ||
tests/suite/similar-names/fail/simfail02.hs:7:11 |