Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #22101; std/pegs with nim cpp --mm:orc --exceptions:goto create…
…s invalid C++ (#24531) fixes #22101 The old implementation generates `auto T = value;` for the cpp backend which causes problems for goto exceptions. This PR puts the declaration of `T` to the cpsLocals parts and makes it compatible with goto exceptions.
- Loading branch information