Arne Döring
e012eb1001
updated tests to be executed
2018-11-23 11:58:28 +01:00
Arne Döring
8ea72bdcea
delete old cruft
2018-11-23 11:58:28 +01:00
Arne Döring
031bfdec6f
make run the default action of a test in tester
2018-11-23 11:58:28 +01:00
Araq
610283b9b0
fixes #9764
2018-11-23 09:54:57 +01:00
Araq
61d08ebcd8
IC: further progress
2018-11-22 23:17:47 +01:00
cooldome
962b2e4b39
Destructors: move into nkTupleConstr and move on tuple unpacking ( #9776 )
2018-11-22 18:33:19 +01:00
Ștefan Talpalaru
f8fa94cb20
fix segfault when calling shallow() on an empty string ( #9782 ) [backport]
...
shallow() casts its string argument to a seq and then tries to access
its fields. Guess what happens when that string is nil, which seems to
be the representation of an empty string (both the default value and an
explicitly assigned "").
Segfault encountered when running "ntags -R ." on a large project. The relevant line:
a1c62c38e5/ntags.nim (lines-125)
2018-11-22 14:47:27 +01:00
alaviss
c7eba64dee
don't raise exception in the default handler ( #9783 )
...
fixes #9657
2018-11-22 14:46:07 +01:00
Timothee Cour
02351d02e7
universal toSeq: works with UFCS; works with inline & closure iterators, and with iterables ( #8711 )
...
* universal toSeq: works with UFCS; works with inline, closure, and proc
iterators, and also non-iterators
* support all iterables with toSeq
* workaround for #9130
2018-11-22 11:47:14 +01:00
cooldome
086676782a
Add isInstanceOf for generic procs to the macros module ( #9730 )
2018-11-21 21:30:03 +01:00
Araq
1cc8b7814d
tut3: improved the wording
2018-11-21 20:45:31 +01:00
Arne Döring
30480605c1
added a new macro tutorial ( #9588 )
2018-11-21 15:46:58 +01:00
ishowta
6ff596d4f8
Empty check in shallow [backport] ( #9676 )
2018-11-21 11:56:38 +01:00
Araq
b78699917e
document the --incremental build switch; make CIs green again
2018-11-21 11:39:38 +01:00
Araq
6ad5e01160
pathutils: remove dead code
2018-11-21 11:39:38 +01:00
Jacek Sieka
2b2fc5c7e9
compiler: remove unused assignment flags ( #9760 )
2018-11-21 11:04:45 +01:00
Andreas Rumpf
574cdfc156
IC: produce a good error message for when the compiler was built without the incremental recompilation feature
2018-11-20 23:55:06 +01:00
Araq
8285e24805
IR: also serialize the new transformedBody field
2018-11-20 23:48:15 +01:00
Timothee Cour
fe2eb25650
nimsuggest: fixes #96
2018-11-20 22:57:27 +01:00
Oscar Nihlgård
b4a42386d9
Times module cosmetic changes ( #9770 )
2018-11-20 22:56:25 +01:00
Araq
eeb7cc6780
IC: further progress
2018-11-20 19:30:00 +01:00
Arne Döring
39ad3a0da6
fix #9726 ( #9765 )
2018-11-20 13:12:47 +01:00
Yuriy Glukhov
d146516008
Fixed wording ( #9761 )
2018-11-20 12:50:08 +01:00
Araq
e8bec61413
incremental compilation: bugfixes
2018-11-19 18:51:47 +01:00
Araq
6acffcd28f
incremental compilation: simple recompilation works
2018-11-19 17:16:52 +01:00
Arne Döring
1e08fff2d5
bitsize respected in size calculation. ( #9756 )
2018-11-19 13:48:40 +01:00
Araq
2418d0cac5
fixes #9743
2018-11-19 11:28:06 +01:00
Randy Smith
6c7abe6e5b
Fixes #9671 ( #9750 )
2018-11-19 09:22:21 +01:00
cooldome
9b9f5dee0b
Fixes discard bug in cpp codegen ( #9747 ) [backport]
...
Fixes discard bug in cpp codegen
2018-11-19 08:44:49 +01:00
Flaviu Tamas
ebcf9406be
Improve nre documentation ( fixes #9470 )
2018-11-18 20:12:24 -05:00
Yuriy Glukhov
5a2290f788
Fixed yield in nkObjConstr. Fixes #9694 [backport] ( #9744 )
...
* Fixed yield in nkObjConstr. Fixes #9694
* Separate expr lowering from state splitting, introduce a clear lowering internal error
2018-11-18 23:09:33 +01:00
Arne Döring
5dfcc4e91c
make tsizeof run on C++ backend ( #9734 )
2018-11-18 14:36:20 +01:00
narimiran
696dc1609f
fix manual entry for .this pragma [ci skip]
2018-11-18 12:53:21 +01:00
Andreas Rumpf
e2f32deba3
make niminst compile again
2018-11-16 22:41:01 +01:00
Araq
6279b0587a
make tests green again
2018-11-16 19:54:49 +01:00
Araq
3f6168b337
removes deprecated T/P types
2018-11-16 13:27:56 +01:00
Timothee Cour
4233046e3f
make hex digit error msg more helpful ( #9727 )
2018-11-16 13:09:19 +01:00
Araq
4929f74023
fixes #9728
2018-11-16 11:30:34 +01:00
pgkos
4efbde84ee
Make getEnv case insensitive on Windows ( #9722 )
2018-11-16 08:45:50 +01:00
Araq
4bd9f32f33
--gc:destructors: hello world example compiles and runs
2018-11-16 00:13:49 +01:00
Timothee Cour
2eb14bdd41
add nimCompile to simplify koch; add nimfind to koch tools ( #9723 )
2018-11-15 20:32:31 +01:00
Araq
3fe8b4f69d
fixes #9692
2018-11-15 16:18:28 +01:00
Araq
dd3e1cbc9b
make testament compile again with -d:nimCoroutines
2018-11-15 15:15:20 +01:00
Araq
9a05fd9dcf
disable some tests for the C++ target; refs #7870
2018-11-15 15:10:50 +01:00
cooldome
c5c4da4f3c
Converter bug fixes ( #9700 )
...
* Fixes #9698
* Fixes #9699
2018-11-15 13:14:48 +01:00
cooldome
8c1083d3b7
Of operator in vm fixes [backport] ( #9717 )
...
* fixes #9701
* fixes #9702
* optimize of statement to bool
2018-11-15 13:03:42 +01:00
Andreas Rumpf
2104863910
nimfind: improvements
2018-11-15 12:17:12 +01:00
Andreas Rumpf
632ec94b5d
gc_common: fixes a typo
2018-11-15 11:36:35 +01:00
Andreas Rumpf
9eb9a57ffd
nimfind: improvements
2018-11-15 11:36:35 +01:00
Timothee Cour
6e003eeecb
refs #9637 ; cleanup installation of nimsuggest ( #9703 )
2018-11-15 10:02:34 +01:00