[Chapel Merge] Raise instantiate max

Branch: refs/heads/main
Revision: 10eaba6
Author: stonea
Link: Raise instantiate max by stonea · Pull Request #20436 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20436 from stonea/raise_instantiate_max

Raise instantiate max

We've had users hit the instantiation limit for things that aren't actually causing an infinite recursion of type/function instantiation in the compiler.

Prior to this PR the limit was 256 but that's somewhat arbitrary.

We don't have any evidence that 512 would lead to painfully long compile but we do have evidence that 256 can sometimes be too low.

Let's raise it.

[Reviewed by @bradcray]

Modified Files:
M compiler/main/driver.cpp

M test/types/type_variables/deitz/part3/test_overinstantiate1.good

Compare: https://github.com/chapel-lang/chapel/compare/3fd18a6a39a0...10eaba65e487