Opened 6 years ago

Closed 5 years ago

#354 closed defect (wontfix)

mutating exports

Reported by: alexshinn Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Core Keywords:
Cc:

Description

We define mutating imports to be an error, however
the standard currently says nothing about what
happens when an exported binding is mutated from
within the library where it's defined.

In many common library implementations there
will be no effect (i.e. the import effectively gets
a copy of the original), whereas in a namespace
based implementation the change will be reflected,
so a conservative approach is to add a note saying
the result is unspecified.

Change History (2)

comment:1 Changed 5 years ago by cowan

  • Status changed from new to decided

The WG voted to reject this proposal and leave the validity of mutating exports unspecified.

comment:2 Changed 5 years ago by cowan

  • Resolution set to wontfix
  • Status changed from decided to closed
Note: See TracTickets for help on using tickets.