-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular bracket imports for reusable reactor modules #2404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start! I left some questions. The major concern I have is that there are not tests. Please add one.
…d test case for federated LF program using new imports
…inal; Refined importPackage management across affected files
…s in federated LF programs
…d test case for federated LF program using new imports
…inal; Refined importPackage management across affected files
…s in federated LF programs
…ibraries (‘<lingo_library/File.lf>’)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way you're dealing with paths is too brittle and needs work. Please see my comments.
This PR proposes a new import statement syntax to distinguish between user-defined reactors import and reusable reactors imports. The new syntax for importing reusable reactors will use angular brackets, as shown:
import Reactor from <path/to/lib/Reusables.lf>
.