aiscript
aiscript copied to clipboard
fix: scannerが一部文字を無視する問題を修正
#766 再発防止のため、各項目が場合分けを完結させるよう強制するようにしています。
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 94.23077% with 3 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/parser/scanner.ts | 94.23% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| src/parser/scanner.ts | 94.37% <94.23%> (+5.61%) |
:arrow_up: |
本題とはずれるけれど、this.stream.eofとthis.stream.charがgetterなのが#732 と同じ理由であまり良くない?
https://github.com/aiscript-dev/aiscript/actions/runs/10644756798/job/29509847385?pr=769
let文でtrue, false, nullのキーワードが弾かれていないらしい(masterでも確認したのでこのPRが原因ではないはず)
条件を満たしているのでマージします。