fix: nimcheck improvements for generics, JS operators, Python 3.10+ syntax

- Add tolerantMode for generic Nim code with < > brackets
- Fix JS ?. and ?? operator tokenization
- Add Python 3.10 match/case keywords, underscore prefix support
- Fix f-string parsing operator precedence bug
- Fix duplicate foundClosing assignments in JS/PHP tokenizers
- Treat unknown flavors as info instead of error
- Add comprehensive test coverage for all fixes
This commit is contained in:
2026-07-15 11:14:29 +02:00
parent 9f50fd7e37
commit f3ad8e64c8
16 changed files with 137 additions and 36 deletions
+2
View File
@@ -1,3 +1,5 @@
function greet(name) {
return `Hello, ${name}!`;
}
const x = obj?.prop ?? 'default';