Skip to content

Commit 40ec810

Browse files
authored
Merge pull request #1537 from lqd/weedle-0.9
Update weedle to version 0.9
2 parents d7695f4 + ca00081 commit 40ec810

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

crates/webidl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ proc-macro2 = "0.4.8"
2020
quote = '0.6'
2121
syn = { version = '0.15', features = ['full'] }
2222
wasm-bindgen-backend = { version = "=0.2.44", path = "../backend" }
23-
weedle = "0.8"
23+
weedle = "0.9"

crates/webidl/src/idl_type.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,12 @@ impl<'a> ToIdlType<'a> for AttributedType<'a> {
300300
}
301301
}
302302

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+
303309
impl<'a> ToIdlType<'a> for Identifier<'a> {
304310
fn to_idl_type(&self, record: &FirstPassRecord<'a>) -> IdlType<'a> {
305311
if self.0 == "DOMTimeStamp" {

0 commit comments

Comments
 (0)