Closed
Bug 17290
Opened 27 years ago
Closed 26 years ago
Incorrect function initialization
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: waldemar, Assigned: brendan)
Details
(Keywords: js1.5)
Given:
function t4() {var x; return x; function x() {return 7}}
t4() should return function x() {...} according to ECMA Edition 3 (see section
10: FunctionDeclarations are processed before VariableDeclarations, and
VariableDeclarations don't replace existing values with undefined). We return
undefined.
Waldemar
Updated•27 years ago
|
Assignee: mccabe → rogerl
Comment 1•27 years ago
|
||
Reassigning to Roger.
| Assignee | ||
Updated•26 years ago
|
Assignee: rogerl → brendan
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•26 years ago
|
Priority: P3 → P2
| Assignee | ||
Updated•26 years ago
|
OS: Mac System 8.6 → other
Hardware: Macintosh → All
| Assignee | ||
Updated•26 years ago
|
OS: other → All
| Assignee | ||
Comment 2•26 years ago
|
||
Fix is in JS15_20000111_BRANCH. Comments welcome.
/be
Updated•26 years ago
|
QA Contact: cbegle → rginda
Comment 3•26 years ago
|
||
test passes on branch.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•26 years ago
|
||
Fix landed from JS15_20000111_BRANCH.
/be
Comment 5•26 years ago
|
||
added testcase ecma_3/ExecutionContexts/10.1.3.js
You need to log in
before you can comment on or make changes to this bug.
Description
•