Closed Bug 493073 Opened 16 years ago Closed 16 years ago

OP_getlex called with an AnyName generates an Assert

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Code like this: package { public var x = 10 print(public::*) } is legal but generates an assert in Debug builds, as we call MultinameHashtable::getMulti with an "any" name, which it doesn't like. The assert is harmless in this case, since an anyname will always find nothing, and act identical to BIND_NONE, but assertions failures are bad... Rather than remove the assertion, simplest fix appears to be to short-circuit findglobalproperty in this case.
Attachment #377513 - Flags: review?(jodyer)
Attachment #377513 - Flags: review?(jodyer) → review+
pushed to redux as changeset: 1885:c7efd93446db
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: