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
Andreas Rumpf
895e2aea15
Merge pull request #5317 from rokups/feature/coroutines
...
Coroutine improvements
2017-02-26 23:24:29 +01:00
Andreas Rumpf
46efaf294b
big compiler refactoring; avoid globals for multi method dispatcher generation
2017-02-22 16:27:52 +01:00
Rokas Kupstys
96c571dd96
Removed fasm support.
2017-02-20 17:24:19 +02:00
Andreas Rumpf
2a22dc7787
nimsuggest improvement: don't die because of illformed ASTs
2017-02-06 20:40:27 +01:00
jlp765
4acc84f081
Gramma change: casted or Casted to cast or Cast respectively
...
past tense of cast is cast not casted :-)
2016-12-17 12:33:57 +10:00
Andreas Rumpf
01ae0d28d4
recursive modules are only detected to improve error messages
2016-11-24 12:27:21 +01:00
Araq
074f276c8a
disallow recursive module dependencies
2016-11-23 23:23:31 +01:00
Federico Ceratto
7d24656b0a
Fix few typos
2016-10-17 13:12:15 +01:00
Andreas Rumpf
d8223d6645
disable warnUninit for --verbosity:2
2016-10-01 09:08:02 +02:00
Andreas Rumpf
976e95e17c
fixes #4580
2016-08-26 15:49:03 +02:00
Jacek Sieka
3cd4cf4320
remove unused stuff
2016-08-09 22:54:27 +08:00
Andreas Rumpf
dfee2bf66e
compiler free of old expr/stmt metatypes
2016-07-30 16:34:42 +02:00
Andreas Rumpf
b43d5148c5
--listCmd also needs to affect linking step
2016-07-13 21:26:58 +02:00
Andreas Rumpf
d7e172a6bc
make tests green again
2016-07-10 01:17:08 +02:00
Eduardo Bart
48d37900a9
Fix disabling hintProcessing
2016-06-20 19:22:09 -03:00
Parashurama
6c8b06b2a3
adds --excessiveStackTrace:on|off flag for nim
...
display absolute file path in error messages.
2016-06-11 15:09:10 +02:00
Andreas Rumpf
4922eaa8b2
fixes #3986
2016-06-06 20:35:41 +02:00
Andreas Rumpf
0b84ee167b
fixes #2159
...
Hints and warnings are only emitted for the main package that is compiled
2016-05-28 17:12:51 +02:00
Hans Raaf
0634486689
Fixed deprecation warnings while Nim compiles.
...
I just removed unsigned and changed a writeLn() call to writeLine() to
avoid the remaining deprecation warnings.
2016-01-18 18:14:50 +01:00
Araq
d673fb3911
nimsuggest: added 'chk', 'outline' and 'highlight' features
2015-11-01 23:26:31 +01:00
Adam Strzelecki
acb6a36656
msgs: One msgWriteln with optional flags
...
Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
2015-10-22 22:09:15 +02:00