Previously, using #pragma compile_with optimize_code didn't actually enable extra_syntax_checks, like the CLI version did. Even worse happened with additional_branch_optimization, which disabled extra_syntax_checks if additional_branch_optimization was disabled.
Fix this so that the behavior is exactly the same as when compiling via CLI
Previously, using #pragma compile_with optimize_code didn't actually enable extra_syntax_checks, like the CLI version did. Even worse happened with additional_branch_optimization, which disabled extra_syntax_checks if additional_branch_optimization was disabled.
Fix this so that the behavior is exactly the same as when compiling via CLI