Ticket #225 (new defect)

Opened 1 year ago

Qualified names not accepted in object literals or record types

Reported by: lth Assigned to: jeffdyer
Type: defect Priority: major
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description

According to http://wiki.ecmascript.org/doku.php?id=proposals:syntax_for_type_expressions this should work:

>> type callable = { meta::invoke: * }
**ERROR** ParseError: unknown token in fieldType

Ditto in object literals:

>> namespace ns
>> ns
[ns user 'ns']
>> ({ ns::x: 10 })
**ERROR** ParseError: unknown token in literalField

Obvious application to #153.

Attachments

Note: See TracTickets for help on using tickets.