summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenjamin Lee <benjamindlee@me.com>2020-10-14 05:20:59 -0400
committerGitHub <noreply@github.com>2020-10-14 11:20:59 +0200
commit12c8ef5949aca6be288a304292c89c350db44f29 (patch)
treec35d336bccb8cc5fde7771aadca75d8bbd90aa1d
parentc664fb284349e2d03148890dfec169b844694eae (diff)
downloadNim-12c8ef5949aca6be288a304292c89c350db44f29.tar.gz
Update the list of GC options when raising an error (closes #15547) (#15553)
-rw-r--r--compiler/commands.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 19048065f..3c6cc5919 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -229,7 +229,7 @@ proc processCompile(conf: ConfigRef; filename: string) =
   extccomp.addExternalFileToCompile(conf, found)
 
 const
-  errNoneBoehmRefcExpectedButXFound = "'none', 'boehm' or 'refc' expected, but '$1' found"
+  errNoneBoehmRefcExpectedButXFound = "'arc', 'orc', 'markAndSweep', 'boehm', 'go', 'none', 'regions', or 'refc' expected, but '$1' found"
   errNoneSpeedOrSizeExpectedButXFound = "'none', 'speed' or 'size' expected, but '$1' found"
   errGuiConsoleOrLibExpectedButXFound = "'gui', 'console' or 'lib' expected, but '$1' found"
   errInvalidExceptionSystem = "'goto', 'setjump', 'cpp' or 'quirky' expected, but '$1' found"