Strange behaviour with package includes #916
Labels
bug
Something isn't working
topic:packages
Package and package semantics. Dependencies, definitions, etc.
Milestone
Reported by didey on Discord - a package with
and
has strange effects with the Rust codegen.
For them, the macro generates an error with an invalid reference to the
entity
function - presumably due to a relative import gone wrong generated by the macro.For me, I get the much stranger behaviour of our WASM not loading at all. Disabling the include allows the WASM to load.
Looking at the state of the semantic with
cargo run -p ambient_package_semantic --example parse_manifest "project_path" > schema.txt
doesn't show anything amiss - the included scope is right where it should be - but it's tripping up something with the macro codegen.
The text was updated successfully, but these errors were encountered: