Specify export renaming onto a temp target #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
export { .m as ._t } $icurrently lands._tbypassing the!shadow validation entirely (temp targets always replace). That is consistent with temp semantics — temps rebind freely — but the spec only forbids temps as export sources (§5a) and says nothing about temp targets.Decide and write it down: either bless the behavior with a sentence in SPECIFICATION.md §5a, or reject temp targets in export lists. One-line change either way; the gap is the spec silence, not the code.
Follow-up to #35.
For the exact snippet
export { .m as ._t } $iI'd just recommend._t = .[$i m]. But since I don't see anything wrong with someone wanting to do this, it's blessed behavior.