From a6d49c3a81acb453306a902b08e5bac52fe1ea47 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 3 Mar 2019 19:00:05 +0100 Subject: special typing rules for owned pointers --- compiler/commands.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/commands.nim') diff --git a/compiler/commands.nim b/compiler/commands.nim index 583d2bb9e..404be3df3 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -738,7 +738,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; expectNoArg(conf, switch, arg, pass, info) doAssert(conf != nil) incl(conf.features, destructor) - defineSymbol(conf.symbols, "nimNewRuntime") + incl(conf.globalOptions, optNimV2) + defineSymbol(conf.symbols, "nimV2") of "stylecheck": case arg.normalize of "off": conf.globalOptions = conf.globalOptions - {optStyleHint, optStyleError} -- cgit 1.4.1-2-gfad0