You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(arguable?) The module binary definition uses * everywhere for all the section lists, but the typeid and code sections should have a distinguished arity to make in unambiguous that they must have the same number of entries as each other (while other sections are allowed to have different sizes) - 2.0 used n.
Re (2), that should actually be working as intended, since the side condition (𝑓𝑢𝑛𝑐 = func 𝑡𝑦𝑝𝑒𝑖𝑑𝑥 𝑙𝑜𝑐𝑎𝑙* 𝑒𝑥𝑝𝑟)* already implies the constraint |𝑡𝑦𝑝𝑒𝑖𝑑𝑥*| = |𝑙𝑜𝑐𝑎𝑙**| = |𝑒𝑥𝑝𝑟*|, otherwise it wouldn't be defined. But admittedly that's subtle.
Activity
rossberg commentedon Dec 8, 2025
Ah thanks. (1) is fixed in 6e4c4bc.
Re (2), that should actually be working as intended, since the side condition (𝑓𝑢𝑛𝑐 = func 𝑡𝑦𝑝𝑒𝑖𝑑𝑥 𝑙𝑜𝑐𝑎𝑙* 𝑒𝑥𝑝𝑟)* already implies the constraint |𝑡𝑦𝑝𝑒𝑖𝑑𝑥*| = |𝑙𝑜𝑐𝑎𝑙**| = |𝑒𝑥𝑝𝑟*|, otherwise it wouldn't be defined. But admittedly that's subtle.