mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-20 00:11:23 +00:00
Enable structural mode for all operations if there is a Global extended attribute on the interface
This commit is contained in:
committed by
Alex Crichton
parent
90579416cf
commit
ebab7d9fc8
@ -656,7 +656,11 @@ impl<'a> FirstPassRecord<'a> {
|
||||
.map(|arg| (&*arg.name, &*arg.type_, arg.variadic)),
|
||||
ret,
|
||||
kind,
|
||||
false,
|
||||
self
|
||||
.interfaces
|
||||
.get(self_name)
|
||||
.map(|interface_data| interface_data.global)
|
||||
.unwrap_or(false),
|
||||
catch,
|
||||
doc_comment,
|
||||
)
|
||||
|
Reference in New Issue
Block a user