Commit 2397901
committed
Resolve the subject class at the earliest delimiter
LeadingClass checked delimiters in a fixed order (":" first), so a tag or name
filter written before a pseudo-class — the conventional order, e.g.
"Part.Enemy:not(#Boss)" — cut at the ":" and widened the result to Instance[].
Cutting at every delimiter in turn keeps the prefix before the earliest one,
making the order irrelevant. The "[" check is dropped: filters are stripped
before LeadingClass runs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B24Kfw4PGCgm4NQDmUVEMN1 parent 48f31b6 commit 2397901
2 files changed
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
93 | 82 | | |
94 | 83 | | |
95 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments