You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Export type ascription is ignored, so exports it hides stay reachable #14852
The ascription hides g, but component_type() still lists g under hidden, and the host can look it up with Instance::get_export_index(Some(&hidden), "g") and call it (it returns 2). Attributes that come from the ascription, such as (implements "..") or (external-id "..") on a nested export, are lost as well, and the same item can report different attributes depending on which path it's exported through.
It looks like translate.rs records (item, name) for exports and drops export.ty, and the root export types are then built from the definition rather than the ascribed type. Guests aren't affected; this is about what the embedder API exposes.
Activity