On compilation of Governor contract:
Compiler run failed:
Error: Compiler error (/Users/distiller/project/libsolidity/codegen/LValue.cpp:56):Stack too deep. Try compiling with `--via-ir` (cli) or the equivalent `viaIR: true` (standard JSON) while enabling the optimizer. Otherwise, try removing local variables.
--> contracts/Governor.sol:321:30:
|
321 | new string[](targets.length),
| ^^^^^^^
Version of contracts is 4.9. Any idea is this related somehow to my compiler settings or is general problem?