Commit 30ce422
fix: resolve regressions in op/anonsub.t, comp/parser_run.t, re/pat_advanced.t
- B.pm: wrap require Sub::Util in eval in _introspect() so that
Sub::Util loading failures (due to @inc reordering) fall back to
__ANON__ defaults instead of dying (fixes op/anonsub.t test 9)
- IdentifierParser: format non-ASCII bytes as \xNN (uppercase, no braces)
inside ${...} contexts to match Perl diagnostic format
(fixes comp/parser_run.t test 66)
- re/pat_advanced.t: no longer crashes - the unicodeSetToJavaPattern()
fix from previous commit properly handles supplementary characters
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 1f364d1 commit 30ce422
3 files changed
Lines changed: 9 additions & 4 deletions
File tree
- src/main
- java/org/perlonjava
- core
- frontend/parser
- perl/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
291 | 295 | | |
292 | 296 | | |
293 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
0 commit comments