Fix #10285 by refusing to use NthCo on a newtype.
During this commit, I tested to make sure that CoreLint actually catches the Core error if the typechecker doesn't. Test case: typecheck/should_fail/T10285
Showing
Please register or sign in to comment