Conditional type syntax documented but not implemented nor implementable

NEW
Assigned to

Status

Tamarin
Documentation
P4
normal
8 years ago
6 years ago

People

(Reporter: Lars T Hansen, Assigned: Richard Whitley)

Tracking

unspecified
Q1 12 - Brannan
x86
Mac OS X
Bug Flags:
flashplayer-qrb +

Details

(URL)

(Reporter)

Description

8 years ago
(From a user comment)

The page in question states that

  var x : hintString ? String : Number

is legal syntax.  It is not, and I believe it's unrepresentable in ABC, except procedurally (ie using '*' and then adding explicit type checks in generated code upon assignment to x).  Also not clear what it would mean in strict mode.  It's sort of like a union type...

Updated

8 years ago
Assignee: nobody → djacowit
Flags: flashplayer-qrb+
Priority: -- → P4
Target Milestone: --- → flash10.2

Updated

7 years ago
Target Milestone: Q3 11 - Serrano → Q4 11 - Anza

Updated

6 years ago
Assignee: djacowit → rwhitley
Target Milestone: Q4 11 - Anza → Q1 12 - Brannan
You need to log in before you can comment on or make changes to this bug.