WP18: Generics by monomorphisation
State: Landed · Done: 2 of 6 · Design note: docs/wp18-generics.md
Stages
- Generic functions, classes and interfaces, constraints, generic methods and whole-program instantiation
- Discriminated unions, which the note's §16 still lists as deferred
- Inferring a type parameter that appears only in the return type (deferred)
- Explicit type arguments at a call,
f<i32>(x)(deferred) - A differential rewrite of generic bodies against Node (deferred)
- A class implementing an interface imported from another module (deferred)
Next
Nothing scheduled. Any unchecked item is deferred; the note says what would reopen it.

