Skip to content

[v4][no-debug] Crash with Cannot read property 'name' of null #306

Closed
@epmatsw

Description

@epmatsw

We've got some code that looks like:

thing.method.lastCall.args[0]();

This is causing a crash in the CallExpression handler in no-debug. In this case, callExpressionIdentifier is null. I suspect that getDeepestIdentifierNode doesn't handle array accessors correctly, and it also can explicitly return null.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions