From 3eb4a60b6bfd11a40cfb7d52459a948b6edf6732 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 --- compiler/ccgstmts.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index c2c82010fb..3a2042ae19 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -1165,7 +1165,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: */