We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7695f4 + ca00081 commit 40ec810Copy full SHA for 40ec810
crates/webidl/Cargo.toml
@@ -20,4 +20,4 @@ proc-macro2 = "0.4.8"
20
quote = '0.6'
21
syn = { version = '0.15', features = ['full'] }
22
wasm-bindgen-backend = { version = "=0.2.44", path = "../backend" }
23
-weedle = "0.8"
+weedle = "0.9"
crates/webidl/src/idl_type.rs
@@ -300,6 +300,12 @@ impl<'a> ToIdlType<'a> for AttributedType<'a> {
300
}
301
302
303
+impl<'a> ToIdlType<'a> for AttributedNonAnyType<'a> {
304
+ fn to_idl_type(&self, record: &FirstPassRecord<'a>) -> IdlType<'a> {
305
+ self.type_.to_idl_type(record)
306
+ }
307
+}
308
+
309
impl<'a> ToIdlType<'a> for Identifier<'a> {
310
fn to_idl_type(&self, record: &FirstPassRecord<'a>) -> IdlType<'a> {
311
if self.0 == "DOMTimeStamp" {
0 commit comments