Files
scriptc/packages/compiler/test
Malte UblandClaude Opus 5.5 bba843a43a Name a function by its definition, not by the binding
`var a = String; a.name` printed "a". Name inference followed any const
binding chain and answered the last identifier, but V8's SetFunctionName
runs only for an anonymous function or class definition: every other value
keeps the name it already has.

The resolution now stops at a named definition, another binding or a member
read, and follows only an anonymous definition's binding, which is the
binding that named the function when it was created. An import alias keeps
that name: `const root = (text) => text` exported from a module and
imported as `builder` is still "root".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 05:38:57 -07:00
..
2026-10-20 17:56:44 -05:00
2026-10-25 10:07:50 -05:00
2026-10-27 23:02:33 -05:00
2026-10-19 07:55:06 -05:00
2026-10-20 17:56:44 -05:00
2026-10-20 17:56:44 -05:00
2026-10-25 15:18:27 -05:00
2026-10-23 19:28:30 -05:00
2026-10-20 11:00:03 -05:00