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)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stejohns, Assigned: stejohns)
Details
Attachments
(1 file)
|
2.89 KB,
patch
|
jodyer
:
review+
|
Details | Diff | Splinter 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+
| Assignee | ||
Comment 1•16 years ago
|
||
pushed to redux as changeset: 1885:c7efd93446db
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•