diff options
| author | qhukz13 <v.onashchuk@gmail.com> | 2026-11-23 23:10:27 +0200 |
|---|---|---|
| committer | qhukz13 <v.onashchuk@gmail.com> | 2026-11-24 16:01:45 +0200 |
| commit | dc2931044b0cf89bccab7c149b0fcda99cb4cc99 (patch) | |
| tree | 9ccca7309221891f84ee6e6222a2eae0b790782a /runtime/src/xma2_decoder.cpp | |
| parent | a8a09903b4662717b9d81fe32ee8225310dcca6c (diff) | |
semantic_mutants: a --lines range that starts inside a docstring is widened to the whole string
Review on ItsNotRexed/Leonida#9432 (Gevroska): `--lines 595-595` falls inside u16_half's docstring, so the tokenized slice had no
opening delimiter and the text was mutated as code. Widen the tokenized span to whole triple-quoted strings,
counting delimiters from the enclosing def or class (a text scan, cheap inside the long dispatch method).
Every one of the translator's 1,049 docstring lines now gives 0 mutants as a one-line range.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions