Arne Döring
ba3c6d022b
make basic debugging possible
2018-06-26 01:42:36 +02:00
Andreas Rumpf
c640bd2d1b
cleanup compiler/prettybase to not use redudant global variables
2018-05-27 22:52:10 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
feef109e60
make tests green again
2018-05-18 20:53:41 +02:00
Andreas Rumpf
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
2018-05-18 15:18:00 +02:00
Andreas Rumpf
b2c7910fb6
compiler/ropes.nim has no global error handler anymore
2018-05-17 15:45:41 +02:00
Andreas Rumpf
bf6c2c5ccf
preparations of making compiler/msgs.nim free of global variables
2018-05-17 15:21:22 +02:00
Andreas Rumpf
5bf6ad9fa3
make tests green on Unix
2018-05-15 01:39:56 +02:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
297038f704
move more globals into the config object
2018-05-13 14:19:42 +02:00
Andreas Rumpf
3c4ceea427
move more global variables into ConfigRef
2018-05-11 15:28:26 +02:00
Andreas Rumpf
a8a544a8f7
avoid more global variables
2018-05-11 15:01:28 +02:00
Andreas Rumpf
7eb39d9d26
guards.nim does compile
2018-05-11 13:07:16 +02:00
Andreas Rumpf
0d56dd4677
big refactoring: magicsys compiles again
2018-05-10 13:12:42 +02:00
Andreas Rumpf
61e57cfa13
big refactoring: parser compiles again
2018-05-10 10:49:51 +02:00
Andreas Rumpf
eef12654bd
compiler/msgs.nim: minor code cleanup
2018-05-05 15:07:13 +02:00
Andreas Rumpf
1aa359febb
warn about inconsistent spacing around binary operators; fixes #7582
2018-05-05 14:58:33 +02:00
Andreas Rumpf
48aee47bf6
compiler: code cleanup
2018-05-02 13:34:54 +02:00
Andreas Rumpf
6dbfdecd74
make msgs.nim more robust
2018-04-30 12:07:12 +02:00
Araq
a8b70c5500
remove unused error messages
2018-04-22 23:16:14 +02:00
Andreas Rumpf
07f4e8a4ed
new 'var T' error messages with hyperlinks; closes #7373
2018-04-22 00:12:43 +02:00
Andreas Rumpf
33b69f0ed0
refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654
2018-04-21 08:13:37 +02:00
Andreas Rumpf
6667362c2f
refs #7586 ; show surounding source also for hints and warnsings
2018-04-20 08:54:56 +02:00
jcosborn
7e15d5134b
allow setting template/macro recursive evaluation limits ( #7652 )
...
* allow setting template/macro recursive evaluation limits
* revert setting template/macro eval limits
set them to 1000
2018-04-19 22:39:18 +02:00
Araq
9bc963508f
nimpretty: next steps
2018-04-18 21:30:38 +02:00
Araq
9de05ec3e0
further steps in implementing sink parameters; refs #7041
2018-03-30 02:32:13 +02:00
Araq
4301744e49
raise the max instruction count for the VM to one billion
2018-03-18 11:04:53 +01:00
Araq
046ed4ed22
symbol files: implemented accurate module dependency tracking
2018-02-21 00:48:23 +01:00
Araq
ef6eda4cb4
better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types
2018-02-10 20:55:21 +01:00
Andreas Rumpf
e2cf3b94f2
improve the error message for thread local variables
2018-02-05 08:47:35 +01:00
Andreas Rumpf
c1679edad2
fixes #7080
2018-02-04 07:23:47 +01:00
cooldome
2b3ec0a7c6
Implement language feature #6885 ( #6954 )
2017-12-24 22:22:03 +01:00
Araq
3bd6b7ddc7
improve the error messages for bug #6692
2017-11-05 02:51:20 +01:00
Araq
604a15c0aa
some progress on the nimpretty tool; still not ready
2017-10-16 00:59:51 +02:00
Andreas Rumpf
eddf9abd13
beginnings of the new nimpretty tool; still unusable
2017-10-05 08:43:22 +02:00
Arne Döring
52f092d02b
Lineinfo change ( #6084 )
2017-07-17 08:12:15 +02:00
Markus F.X.J. Oberhumer
a0f39e0ab4
Ascii character code 127 (DEL) is not printable and must be quoted. ( #5984 )
...
This is a follow-up to #5823 .
2017-06-15 20:42:23 +02:00
Zahary Karadjov
0aede22e87
enforce the covariance rules for user-defined generic types
2017-05-13 14:38:07 +03:00
Zahary Karadjov
5e368f3639
support for external types with covariant generic params
2017-05-08 21:45:37 +03:00
Zahary Karadjov
fe48dd1cbe
further improvements to the error messages produced by concepts
2017-03-24 16:59:47 +02:00
Zahary Karadjov
74a80988d9
proper error reporting for concepts and the introduction of the {.explain.} pragma
2017-03-24 16:59:47 +02:00
Zahary Karadjov
0f2c4be129
infer static parameters even when more complicated arithmetic is involved
2017-03-24 16:58:15 +02:00
Andreas Rumpf
4912300ca7
Merge branch 'devel' into faster-nimsuggest
2017-03-14 10:18:20 +01:00
zah
1be0022e7c
Fixes #5167 and related problems ( #5475 )
...
This commit returns to a bit less strict checking of the number
of macro arguments, because some old immediate macros rely on a
behavior where even the arity of the macro is not being checked.
It may be better if such macros are just declared to use varargs[expr],
but this remains for another day.
2017-03-12 09:33:49 +01:00
zah
6e358e3187
don't allow casting to non-concrete types; fixes #5428 ( #5502 )
2017-03-12 09:27:05 +01:00
Araq
4755795416
nimsuggest: more precise cursor tracking
2017-03-09 14:58:14 +01:00
Araq
1887390b0f
nimsuggest: fixes nimsuggest bug #45 ; do not show suggestions in string literals or comments
2017-03-08 12:53:21 +01:00
Andreas Rumpf
6c0304f7f5
nimsuggest chk works for EPC
2017-03-03 11:59:00 +01:00
Andreas Rumpf
a9c1afd5fd
nimsuggest: structured error reporting; EPC mode still fails
2017-03-03 02:13:16 +01:00
Araq
e78bd69619
C codegen: escape '?' because C has trigraphs
2017-02-27 16:16:14 +01:00