Ticket #80 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Nullable-typed var in class defaults to undefined

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

Description

>> class C{function C(){y=1} public var x:Object, y}
>> c = new C
[object C]
>> c.x
>> typeof c.x
undefined

Causing builtins/Name.es very minor stress.

/be

Attachments

Change History

Changed 2 years ago by brendan

  • milestone set to M1

Changed 2 years ago by brendan

So when this is fixed, please remove the FIXME comment and the line it prefixes in builtins/Name.es. Thanks,

/be

Changed 2 years ago by lth

Quasi-dup of #43.

Changed 2 years ago by lth

  • component changed from Proposals to RefImpl

Changed 2 years ago by lth

  • owner changed from graydon to lth

Changed 2 years ago by lth

  • status changed from new to closed
  • resolution set to fixed

Changed 2 years ago by brendan

The FIXME and the line it commented in builtins/Name.es weren't removed :-( -- done.

/be

Note: See TracTickets for help on using tickets.