Commit 52527bd
fix(es/minifier): Fix parameter inlining merge conflict and identifier comparison
Fixed merge conflict from rebase where both old and new Expr::Ident match arms
were present. Updated the code to properly handle:
1. Unresolved "undefined" identifier (safe global)
2. Resolved identifiers (local immutable variables)
Also updated expr_eq to properly compare identifiers:
- For unresolved identifiers: only allow "undefined"
- For resolved identifiers: check same symbol and context
- Mixed resolved/unresolved: return false
Addresses review feedback from #11156 (review)
All tests passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent def6fdf commit 52527bd
1 file changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
312 | 322 | | |
313 | 323 | | |
314 | 324 | | |
| |||
0 commit comments