diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-01-08 15:58:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 15:58:47 -0800 |
commit | bf3a308e86e7c5999855546962aed564218a8121 (patch) | |
tree | b161eaf15c10cbef4bec95f5c7de278ccb0f118a /compiler/options.nim | |
parent | fb26b95f815b5426e0a8aad98ca0ff018ef1f4db (diff) | |
download | Nim-bf3a308e86e7c5999855546962aed564218a8121.tar.gz |
[error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766)
* fixes #8794 : `Error: undeclared field: 'foo'` should show type (+ where type is defined) (hard to guess in generic code) * fixes #9270: `--listFullPaths` not honored by `declared in foo.nim` messages * fixes #9767: VM stacktrace doesn't honor --excessiveStackTrace:on * fixes #9768: VM stacktrace misses column info, can lead to ambiguous or harder to read stacktraces * refactors some col+1 code to col + ColOffset (self documents code) * make getProcHeader show declared info location also for types and all routine kinds (including macros,templates) instead of just (rather arbitrarily) for iterator,proc,func,method * --listFullPaths now is honored in more places * fix typo system/except.nim => lib/system/excpt.nim * remove substr(foo, 0) hack in compiler/vm.nim which seems old and not applicable anymore
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index ea159ee1d..d39b0a268 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -78,7 +78,7 @@ type # please make sure we have under 32 options optShowAllMismatches # show all overloading resolution candidates optWholeProject # for 'doc2': output any dependency optMixedMode # true if some module triggered C++ codegen - optListFullPaths + optListFullPaths # use full paths in toMsgFilename, toFilename optNoNimblePath optDynlibOverrideAll |