Ticket #36 (closed defect: fixed)

Opened 3 years ago

Last modified 3 months ago

Implement Name objects

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

Description

A very short example:

namespace n;
let o = new Object;
o.n::p = 42;
for (let i in o)
  intrinsic::print(i, typeof i);

The loop should print "n::p object". See the name objects proposal for details.

/be

Attachments

Change History

Changed 3 years ago by brendan

  • owner set to brendan

Changed 3 years ago by brendan

builtins/Name.es checked in and hooked up in boot.sml. Working on eval.sml changes now.

/be

Changed 3 years ago by lth

  • component changed from Proposals to RefImpl

Changed 3 years ago by lth

  • milestone set to M1

Changed 3 years ago by brendan

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

This is fixed. FIXME comments reference tickets that note the FIXMEs to clean up, or should (adding one to #80 now).

/be

Changed 3 years ago by lth

  • cc set to lth

Is support for Name objects pervasive now (ie in hasOwnProperty, propertyIsEnumerable, and so on)?

Changed 3 years ago by brendan

  • status changed from closed to reopened
  • resolution deleted

Whoops, forgot about those -- reopening.

/be

Changed 3 years ago by brendan

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

Should be fixed now -- needed some (Name,string) property identifier type love in Object.es, magic.es, and equivalent backstage support in native.sml.

/be

Changed 3 months ago by anonymous

  • milestone deleted

Milestone M1 deleted

Note: See TracTickets for help on using tickets.