plinss / widlparser

Stand-alone WebIDL Parser in Python
30 stars 15 forks source link

Parser doesn't allow optional arguments to be followed by required arguments #79

Open domenic opened 2 years ago

domenic commented 2 years ago

See https://github.com/whatwg/webidl/issues/1214. Apparently this restriction used to exist in 2013, but was removed in https://github.com/whatwg/webidl/commit/97499d48855a9f9012fe145d49b83ccd71d1738b.

(I got this error via Bikeshed, but I am assuming it's because of widlparser; my apologies if it's Bikeshed at fault instead. /cc @tabatkins)

tabatkins commented 1 year ago

Nah this is a widlparser issue. Opened #81 to fix it.