From 1b6c4ed2ba29f855b47ff295515b54c9ae4edafa Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 21 Apr 2020 23:19:34 +0200 Subject: [PATCH] fixes #14052 [backport:1.2] (#14055) --- compiler/lineinfos.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/lineinfos.nim b/compiler/lineinfos.nim index 658863676d..9c10105b19 100644 --- a/compiler/lineinfos.nim +++ b/compiler/lineinfos.nim @@ -87,7 +87,8 @@ const warnWriteToForeignHeap: "write to foreign heap", warnUnsafeCode: "unsafe code: '$1'", warnUnusedImportX: "imported and not used: '$1'", - warnInheritFromException: "inherit from a more precise exception type like ValueError, IOError or OSError", + warnInheritFromException: "inherit from a more precise exception type like ValueError, " & + "IOError or OSError. If these don't suit, inherit from CatchableError or Defect.", warnEachIdentIsTuple: "each identifier is a tuple", warnUnsafeSetLen: "setLen can potentially expand the sequence, " & "but the element type '$1' doesn't have a valid default value",