-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationfeatureAdds a new feature to the language.Adds a new feature to the language.improvementImproves the way that an existing feature works, in a backwards-compatible way.Improves the way that an existing feature works, in a backwards-compatible way.
Milestone
Description
Currently all definitions (including type constructors) are included in the returned table; as well as any foreign exports being assigned. We should either:
- Switch to a method of explicit exports, where nothing is included in the returned table except for things mentioned in an
export (foo, bar);statement; - Specify precisely what is automatically included. Particularly, are imports automatically exported? Currently no, but how do we do re-exports then?
Probably option 1 is best; we could even add a glob argument e.g. export (..); which exports everything1.
Footnotes
-
This really just kicks the can down the road, and forces us to specify what the glob operator does. But it might be more predictable for programmers this way. ↩
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationfeatureAdds a new feature to the language.Adds a new feature to the language.improvementImproves the way that an existing feature works, in a backwards-compatible way.Improves the way that an existing feature works, in a backwards-compatible way.
Projects
Status
Todo