SIGN IN SIGN UP

Disallow descriptor "L" subtyping (#9011)

The custom descriptors proposal previously allowed subtyping that looked
like this:

```
A
^
B -> B.desc
```

It was possible for a type to have a descriptor while its supertype did
not.

However, we've decided to tighten the validation rules to disallow this
pattern. Now `A`` will also need a descriptor, `A.desc`, and `A.desc`
will need to be the declared supertype of `B.desc` for this to be valid.

See https://github.com/WebAssembly/custom-descriptors/issues/109.
T
Thomas Lively committed
293a351e4e3e57cc0a32678f12ad9879d453923a
Parent: 93c3dbf
Committed by GitHub <noreply@github.com> on 8/21/2026, 6:40:02 PM