-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix escaped Unicode hex literals parsing (#49)
* Update package set * Fix escaped Unicode hex literals parsing The Char type represents a UTF-16 code unit, while String can contain any UTF-8 code unit. The same logic for escaping Unicode hexadecimal literals was used by both String and Char literal parsers. This caused a bug that prevented PureScript source code from having string literals containing UTF-8 hexadecimal literals representing code units larger than two bytes. * Add tests for Unicode hex literals * Update bench and parse-package-set dependencies * Update CONTRIBUTORS.md * Update parse-package-set's test package set. --------- Co-authored-by: Nathan Faubion <nathan@n-son.com>
- Loading branch information
1 parent
13a2437
commit 7a0a448
Showing
9 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
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
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
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
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 @@ | ||
let upstream = | ||
https://github.com/purescript/package-sets/releases/download/psc-0.15.0-20220507/packages.dhall | ||
sha256:cf54330f3bc1b25a093b69bff8489180c954b43668c81288901a2ec29a08cc64 | ||
https://github.com/purescript/package-sets/releases/download/psc-0.15.7-20230401/packages.dhall | ||
sha256:d385eeee6ca160c32d7389a1f4f4ee6a05aff95e81373cdc50670b436efa1060 | ||
|
||
in upstream |
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
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
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
, "control" | ||
, "effect" | ||
, "either" | ||
, "enums" | ||
, "foldable-traversable" | ||
, "free" | ||
, "functions" | ||
|
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
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