The following wac:
package test:comp;
let foo = new foo:bar {};
export foo as i;
interface i {
}
causes a panic in wac-parser:
thread 'main' panicked at crates/wac-parser/src/resolution/ast.rs:355:9:
assertion failed: prev.is_none()
This is because wac-parser is not emitting an error for the type declaration conflicting with the previous export.