From 2d3c43622894f6771d753fa922e155cf88da98d9 Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Wed, 15 Apr 2026 21:29:09 -0700 Subject: [PATCH] ccgstmts: fix 'occured' -> 'occurred' typo in emitted C++ exception comment (#25749) Inline C++ comment emitted by `compiler/ccgstmts.nim:1168` into generated code read `C++ exception occured, not under Nim's control`. Doc-only change in the emitted source. Signed-off-by: SAY-5 Co-authored-by: SAY-5 (cherry picked from commit 3eb4a60b6bfd11a40cfb7d52459a948b6edf6732) --- compiler/ccgstmts.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index 66fc68c93a..8e25f07bcb 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -1060,7 +1060,7 @@ proc genTryCpp(p: BProc, t: PNode, d: var TLoc) = throw; } } catch(...) { - // C++ exception occured, not under Nim's control. + // C++ exception occurred, not under Nim's control. } { /* finally: */