Closed
Bug 706402
Opened 13 years ago
Closed 13 years ago
[ASC BUG] ASC rejects null as a default value for a namespace parameter
Categories
(Tamarin Graveyard :: Tools, defect, P1)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
VERIFIED
FIXED
Q2 12 - Cyril
People
(Reporter: lhansen, Assigned: lhansen)
References
Details
Test case:
package
{
function f(x:Namespace = null)
{
return x;
}
}
With or without -AS3, -strict, -abcfuture:
[Compiler] Error #1184: Incompatible default value of type Null where Namespace
is expected.
../asc.as, Ln 2, Col 27:
function f(x:Namespace = null)
..........................^
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lhansen
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•13 years ago
|
||
Pushed to asc-float and tr-float.
Comment 2•13 years ago
|
||
changeset: 7074:9a3bea55768d
tag: tip
user: Brent Baker <brbaker@adobe.com>
date: Tue Dec 13 10:16:57 2011 -0500
files: test/acceptance/as3/asc/namespace-parameter-null-default.as test/acceptance/as3/asc/string-parameter-default-null.as
description:
Bug 706719: add test media using a String parameter with a default value as null
Bug 706402: add test media using a Namespace parameter with a default value as null
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Flags: flashplayer-bug-
You need to log in
before you can comment on or make changes to this bug.
Description
•