Two new warnings: arity differing from demand type, and strict IDs at top level
I added two new Core Lint checks in lintSingleBinding: 1. Check that the id's arity is equal to the number of arguments in its demand type, if it has a demand type at all (i.e., if demand analysis already happened). 2. Check that top-level or recursive binders aren't demanded.
Showing with 60 additions and 12 deletions