Lock semchecked ast for macros (#11883) [bugfix]

* reject to modify type checked AST
* add flag to back out
* Introduce legacy feature set.
This commit is contained in:
Arne Döring 2019-08-08 16:57:06 +02:00 • committed by Andreas Rumpf
commit 44e7a7b6c2
8 changed files with 83 additions and 24 deletions

View file

@ -120,6 +120,9 @@ Advanced options:
--errorMax:N stop compilation after N errors; 0 means unlimited
--experimental:$1
enable experimental language feature
--legacy:$2
enable obsolete/legacy language feature
legacy code.
--newruntime use an alternative runtime that uses destructors
and that uses a shared heap via -d:useMalloc
--profiler:on|off enable profiling; requires `import nimprof`, and