New lint check: Check idArity invariants (#10181)
The arity of an id should not be larger than what the type allows, and it should also not contradict the strictness signature. This adds a lint check for that. This broke test T8743, uncovering a bug in the SOURCE import machinery, which is now filed as #10182.
Showing with 22 additions and 2 deletions