Commit f3d0ab3
committed
fix: make $applyConstraintToLastRoute public and remove unreliable method-indexed route scan
- Change $applyConstraintToLastRoute from private to public in matching.cfc
so Lucee 7's mixin system can resolve calls from public constraint helpers
(whereNumber, whereAlpha, etc.)
- Remove Fast Path 2 (method-indexed route scan) from Dispatch.cfc which
returned stale wildcard routes instead of correct specific routes. Keep
Fast Path 1 (static O(1) lookup) and the linear fallback scan.
https://claude.ai/code/session_01BwY32HMZKTCitF9f3BSSJL1 parent 6942400 commit f3d0ab3
2 files changed
+3
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 131 | + | |
| 132 | + | |
152 | 133 | | |
153 | 134 | | |
154 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
0 commit comments