Closed
Bug 17290
Opened 25 years ago
Closed 25 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•25 years ago
|
Assignee: mccabe → rogerl
Comment 1•25 years ago
|
||
Reassigning to Roger.
Assignee | ||
Updated•25 years ago
|
Assignee: rogerl → brendan
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Priority: P3 → P2
Assignee | ||
Updated•25 years ago
|
OS: Mac System 8.6 → other
Hardware: Macintosh → All
Assignee | ||
Updated•25 years ago
|
OS: other → All
Assignee | ||
Comment 2•25 years ago
|
||
Fix is in JS15_20000111_BRANCH. Comments welcome.
/be
Updated•25 years ago
|
QA Contact: cbegle → rginda
Comment 3•25 years ago
|
||
test passes on branch.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•25 years ago
|
||
Fix landed from JS15_20000111_BRANCH.
/be
Comment 5•25 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
•