bytecodealliance / bytecodealliance/ComponentizeJS

enums not exported?

未關閉
#83 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Rust
星號
391
分支
53
平均合併
3 天 5 小時
30 天內合併 PR
1

描述

I'm getting the error `source.js:2:43 SyntaxError: ambiguous indirect export: MyEnum` when I try to import my enum like: `import { MyEnum } from 'my_package:my_world/my_module'` -- I see in debug mode that none of the enums appear to be exported.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

使用所示的 import 重現 source.js 中的失敗,並檢查 debug-mode exports,重點關注 MyEnum 未被公開的原因。當 enum 可以在不出現 ambiguous indirect export error 的情況下被匯入,且偵錯輸出顯示預期的 enum export 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, rust, wasm
領域
compilers, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。