Open
Description
I think we could avoid this by first checking MethodType.isTrivial
(which is cached) to avoid this call. We might also be able avoid it under phase.erasedTypes
.
- Add an assertion to check that the
substSym
is an identity when each of those conditions hold, run the test suite and boostrap to test this out - Check those conditions before calling it.