Commit Graph

3743 Commits

Author SHA1 Message Date
Araq
b1c494a150 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-03-14 15:56:08 +01:00
Araq
142b604c13 fixes #5529; don't merge type visibility flags 2017-03-14 15:55:23 +01:00
Andreas Rumpf
f7d760cb94 nimsuggest: when invoked with a directory, detect the main nim file on its own 2017-03-14 12:28:15 +01:00
Andreas Rumpf
b414806e66 nimsuggest: suggest types in a type section 2017-03-14 11:21:35 +01:00
Andreas Rumpf
f162ff7773 nimsuggest: make tdot1 test case green again 2017-03-14 10:28:50 +01:00
Andreas Rumpf
4912300ca7 Merge branch 'devel' into faster-nimsuggest 2017-03-14 10:18:20 +01:00
zah
650b20dc5e fix varargs forwarding for templates; fixes #5455 (#5505)
* fix varargs forwarding for templates; fixes #5455
* document the macros' varargs change in the news for 0.16.2
2017-03-13 22:02:11 +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
Andreas Rumpf
2430fc7d82 nimsuggest: special rule for 'of' completion in case statements 2017-03-10 14:42:11 +01:00
Andreas Rumpf
c5566f7c37 nimsuggest: make 'con' work again 2017-03-10 13:20:32 +01:00
Andreas Rumpf
68181e6da2 nimsuggest: maxresults limit; fixed local symbol usages priorizations 2017-03-10 11:29:16 +01:00
Zahary Karadjov
62ef5dfec8 new debugging helper to replace and friends 2017-03-10 12:02:55 +02:00
Andreas Rumpf
db888475dc nimsuggest: make tests green again 2017-03-10 09:57:36 +01:00
Araq
556b564c7d nimsuggest: make tests green again 2017-03-10 00:18:24 +01:00
Araq
57ea01309e nimsuggest: more things work 2017-03-09 17:09:39 +01:00
Araq
4755795416 nimsuggest: more precise cursor tracking 2017-03-09 14:58:14 +01:00
Andreas Rumpf
da821a22d9 nimsuggest: revert cpFuzzy bailouts 2017-03-09 11:30:36 +01:00
Araq
4d0d6c47bd bugfix: consider type contexts properly 2017-03-08 15:59:34 +01:00
Araq
0f63c101e4 fixes nimsuggest bug #45 2017-03-08 13:21:40 +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
507feb3ce5 Merge branch 'devel' into faster-nimsuggest 2017-03-08 00:39:13 +01:00
Andreas Rumpf
91a4b448fd nimsuggest: chk checks the full project lazily; much better suggestions orderings 2017-03-08 00:38:48 +01:00
Andreas Rumpf
538c6c9898 make some tests green 2017-03-07 12:34:45 +01:00
Andreas Rumpf
9ed322323e nimsuggest: better ordering of symbols (part 1) 2017-03-07 10:58:43 +01:00
Araq
3fa428c88b fixes #5467 2017-03-07 00:27:47 +01:00
Araq
4a77b66b19 fixes #5478 2017-03-06 18:38:15 +01:00
Araq
8c0e27e8d9 fixes #5481 2017-03-06 18:25:27 +01:00
Andreas Rumpf
5d125ca716 Merge branch 'devel' into faster-nimsuggest 2017-03-03 13:00:09 +01:00
Andreas Rumpf
3b0430bec6 nimsuggest: minor doc addition 2017-03-03 12:59:32 +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
Fabian Keller
e2567e2e03 Fix sigsegv in getTypeImpl for unnamed tuple (#5440)
avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862
2017-03-02 15:30:19 +01:00
Andreas Rumpf
3e7b04683c make tests green again 2017-03-02 12:23:35 +01:00
Araq
ee13c8014b nimsuggest: track type contexts 2017-03-01 09:57:51 +01:00
Araq
936ed9721b fixes 'nim check' crash 2017-03-01 09:57:26 +01:00
Yuriy Glukhov
e213b120ab Fixes #5452 2017-02-28 17:23:25 +02:00
Araq
3d46600a90 nimsuggest supports prefix matching (first version) 2017-02-28 09:03:40 +01:00
Araq
e78bd69619 C codegen: escape '?' because C has trigraphs 2017-02-27 16:16:14 +01:00
Araq
7d1a96151c finish tool can use 'nimgrab' tool to download the mingw version 2017-02-26 23:25:50 +01:00
Andreas Rumpf
895e2aea15 Merge pull request #5317 from rokups/feature/coroutines
Coroutine improvements
2017-02-26 23:24:29 +01:00
Araq
46b672a6c4 minor codegen bugfix: don't use names for closures that are also mangled Nim names 2017-02-26 17:41:00 +01:00
Araq
4c5ecb46b0 fixes a minor codegen issue where name mangling could produce an identifier used by the codegen; refs #5437 2017-02-26 17:41:00 +01:00
Araq
fb37d13f46 fixes #5439 2017-02-26 17:41:00 +01:00
Araq
2589d69ed2 fixes #5430 2017-02-26 00:32:07 +01:00
Araq
d91d338d03 fixes #5432 2017-02-26 00:32:07 +01:00
Araq
fa98edc78c another attempt to make test green again 2017-02-24 15:52:52 +01:00
Andreas Rumpf
b7a1cad4a4 make tests green again 2017-02-24 13:05:58 +01:00
Andreas Rumpf
f8914cc3b0 fixes a multimethod regression 2017-02-24 13:02:36 +01:00
Andreas Rumpf
46f33515d7 Merge branch 'devel' into faster-nimsuggest 2017-02-24 01:28:50 +01:00