Commit 32375ba
authored
Fix serialization of kinds with multibyte chars (JuliaLang/JuliaSyntax.jl#501)
This patch fixes serialization of `Kind`s to use `sizeof` (number of
bytes) instead of `length` (number of characters) when computing number
of bytes in the stringified `Kind`.1 parent 535173d commit 32375ba
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments