sourcemaps for the JS codegen (#7508)

This commit is contained in:
Alexander Ivanov 2020-04-03 13:06:23 +03:00 • committed by GitHub
commit 920add5880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 424 additions and 9 deletions

View file

@ -44,6 +44,7 @@ type # please make sure we have under 32 options
optOldAst,
optSinkInference # 'sink T' inference
TOptions* = set[TOption]
TGlobalOption* = enum # **keep binary compatible**
gloptNone, optForceFullMake,
@ -94,6 +95,7 @@ type # please make sure we have under 32 options
optProduceAsm # produce assembler code
optPanics # turn panics (sysFatal) into a process termination
optNimV1Emulation # emulate Nim v1.0
optSourcemap
TGlobalOptions* = set[TGlobalOption]