Require the package name to prefix all imports #176
Labels
good first issue
An issue that doesn't require deep knowledge of the compiler to fix or implement
language feature
A feature proposal for something added to the core language (not the standard library)
Part of implementing the "Packages" design: https://antelang.org/docs/language/#packages
Currently import paths to the stdlib (https://github.com/jfecher/ante/tree/master/stdlib) can be imported via
import Vec
where we want the package name to be prefixed in the path:import Std.Vec
to allow for future additions to the stdlib without conflicting with any names in existing programs. This should also apply to the user's current project. E.g. inMyProject/{T.an, U.an}
the importsimport T
andimport U
are currently allowed, where these will need to beimport MyProject.T
in the future instead.The text was updated successfully, but these errors were encountered: