Skip to content

substSym call in matchesQuantified could be avoided #551

Open
@retronym

Description

@retronym

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions