-
Notifications
You must be signed in to change notification settings - Fork 8
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
Import & Export directives #415
Conversation
2f0528d
to
cc298e7
Compare
Signed-off-by: Maximilian Marx <[email protected]>
cc298e7
to
7f57ff9
Compare
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d4b5a67bbe9ef750bd2fdffd4cad400dd5553af8' (2023-11-14) → 'github:NixOS/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/e44462d6021bfe23dfb24b775cc7c390844f773d' (2023-11-12) → 'github:NixOS/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/e485313fc485700a9f1f9b8b272ddc0621d08357' (2023-11-14) → 'github:oxalica/rust-overlay/45066cb0b2505d8da581be8432a16238c867f199' (2023-11-19)
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.
Nice work!
I'm only wondering about the removed tests; apart from that this can be merged imo :)
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.
These are some nice improvements. I have some ideas for readability and some questions
}) | ||
} | ||
|
||
/// Obtain an [ImportSpec] for this format. |
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.
This is for backwards compatibility only, right? Maybe add a comment explaining that.
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.
Why would it just be for backwards compatibility? This is how you would create an ImportSpec
without involving the parser.
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.
These are some nice improvements. I have some ideas for readability and some questions
Requested changes were implemented
@import
/@export
directives #293.@output
directives #208.