-
-
Notifications
You must be signed in to change notification settings - Fork 748
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
gleam export package-interface
produces empty modules object
#2898
Comments
Running |
@giacomocavalieri am I right in thinking you fixed this? Or did I make that up? |
No I haven't (or at least not knowingly)! I should check whether this happens on the main branch as well |
I think it's this TODO here: gleam/compiler-core/src/build/package_compiler.rs Lines 85 to 89 in 176334c
|
hmmm this was closed as completed but I'm still able to replicate this behaviour on gleam 1.4 🤔 should we reopen this issue? |
@lpil sorry to bug you. Just wanted to follow up on what was discussed in discord. This issue is confirmed to be unresolved and should be reopened 😃 |
Thank you |
When I run
gleam export package-interface --out <some_path>.json
on any of my packages (tested with simplifile and gsv),the file produced has an empty object for the modules field as though they were empty packages.
I checked the package-interface.json in the build directory and it's being correctly produced, so the module info get's lost somehow exporting the file.
I'm on an M2 Mac running the main branch of Gleam. The logs from after the compile stage are pretty sparse
I'll try and look into this as I bet it's something small or I'm doing something wrong, but if someone beats me to it I won't be upset haha.
The text was updated successfully, but these errors were encountered: