Andreas Rumpf
606b43ba11
Merge pull request #9911 from nc-x/fixes-#9627
...
`include` now accepts collective arguments
2018-12-09 13:47:45 +01:00
Andreas Rumpf
c16963083d
Merge pull request #9912 from nim-lang/araq-fixes-nested-gensym
...
fixes nested gensym'ed parameters; fixes #9476
2018-12-09 12:58:33 +01:00
Neelesh Chandola
96647618c2
Fix compilation of test on linux and mac
2018-12-09 15:44:18 +05:30
Andreas Rumpf
8035f408f1
Merge pull request #9898 from cooldome/enum_notused
...
Enum fields get hintXDeclaredButNotUsed hint even marked with used pragma
2018-12-09 09:51:35 +01:00
Neelesh Chandola
81427b535d
Add final newlines
2018-12-09 13:57:17 +05:30
Neelesh Chandola
f77ddccb6c
add tests
2018-12-09 13:56:11 +05:30
Timothee Cour
f838b1e6c1
fix #9872 : setLen now works properly at CT [backport]
2018-12-08 14:33:42 -08:00
Araq
e874705971
fixes nested gensym'ed parameters; fixes #9476
2018-12-08 13:30:06 +01:00
Andrii Riabushenko
5f9234e5cb
add comment, fixes #9896
2018-12-08 11:39:11 +00:00
Andrii Riabushenko
94a63eef9a
Fix hintXDeclaredButNotUsed for enum fields marked as used
2018-12-08 11:35:18 +00:00
Andreas Rumpf
160a034643
Merge pull request #9803 from GULPF/walkdirrec-relative
...
Add `relative` parameter to walkDirRec
2018-12-06 09:29:35 +01:00
Araq
7a0191ac7e
fixes #9441
2018-12-06 08:06:54 +01:00
Araq
1711a60f7b
fixes #9868
2018-12-05 16:16:58 +01:00
Araq
af815c3c18
fixes #9864 [backport]
2018-12-05 10:58:18 +01:00
Timothee Cour
d502ddea9e
fix #9832 (fixup) ( #9859 )
2018-12-04 16:48:08 +01:00
rec
e3e5ae287f
Fix fat pointers, object copying, magic double evals on JS ( #9411 ) [backport]
...
* Add a test for issue #9389
* Fixes #9389 .
* Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied.
* Make mArrToSeq implementation actually check if a copy needs to be made.
* Avoid unnecessary copy in mChr impl
* Assume set constructor elements need no copy
* Add a test for issue #9410
* Add a test
* fix passing fat pointers (#9410 )
* Enhance tests
* More tests and fixes
* Add more (failing) tests [ci skip]
* Added equality operator for fat pointers, more tests and fixes
* Fix printing uninitialized strings
* Fix mInc, mDec double eval, add more tests
* Tests
* Refactored, fixed multiple evals, revamped the tests, added missing ops
* Fix ups
* Fix #9643 and #9644
* add pointer normalization
2018-12-04 12:04:27 +01:00
Timothee Cour
05769020d3
fixes #9832 ( #9841 ) [backport]
2018-12-04 11:13:49 +01:00
Arne Döring
2f13d27720
improve line info retreival ( #9822 )
...
* improve line info
* fix error message
2018-11-30 08:12:11 +01:00
cooldome
5b98afb8a8
Destructors: more moves for tuples ( #9808 )
2018-11-27 18:59:21 +01:00
Arne Döring
cc0364e72f
Tester tests ( #9787 )
...
* remove --lib:lib
* added some tests for testatment
* tests are addad WIP: add colors switch to tester
* meta tester is integrated
2018-11-27 10:00:32 +01:00
Oscar Nihlgård
e5aae93bfe
Add relative parameter to walkDirRec
2018-11-26 22:08:45 +01:00
Tomohiro
3a3ff76526
Add workingDir parameter to execProcess and test ( #9549 )
...
* Add workingDir parameter to execProcess
* Fix tests/stdlib/tosproc.nim compile error
* Suppress output from tosproc.nim
2018-11-26 10:28:44 +01:00
Constantine Molchanov
3f3aee4078
Added cgi.readData. Add test for cgi module. ( #9645 )
...
Added cgi.readData. Add test for cgi module.
2018-11-26 10:27:13 +01:00
cooldome
c50a04adc5
More converter fixes ( #9737 )
...
* fixes #9735
* fixes #9736
* fixes #3503
2018-11-26 09:51:13 +01:00
cooldome
ea5fc9f204
fixes #9794 : sizeof tuple is incorrect if contains imported object ( #9795 )
...
* fixes #9794
* Fix linux test
2018-11-26 09:46:19 +01:00
cooldome
2ac7f52388
Fixes multiple bugs with sink arguments ( #9802 )
...
* fixes #9781
* fix spacing
2018-11-26 09:45:45 +01:00
Yuriy Glukhov
410fd1deae
Fixes 9716 [backport] ( #9790 )
...
* reuse temporary variable
* fixes #9716 [backport]
* Declare local vars in safer place
2018-11-24 10:50:48 +01:00
Alexander Ivanov
88d707cb88
Support only some types as JsAssoc types ( #8627 )
2018-11-23 15:05:15 +01:00
Araq
562d185cb7
cleanup tests; don't use non-working 'msg' spec field
2018-11-23 13:16:45 +01:00
Araq
e07188b79e
threw away a silly test
2018-11-23 11:58:33 +01:00
Araq
0c0f9ba974
Windows: disabled tests
2018-11-23 11:58:32 +01:00
Arne Döring
a29ec40032
join simple test
2018-11-23 11:58:32 +01:00
Arne Döring
ce7121530d
remove problem test
2018-11-23 11:58:31 +01:00
Arne Döring
be553e691b
more eyewash
2018-11-23 11:58:31 +01:00
Arne Döring
523ca76c4d
eyewash
2018-11-23 11:58:31 +01:00
Arne Döring
6946116272
fix for nimInAction
2018-11-23 11:58:30 +01:00
Arne Döring
161e14829a
disable tio.nim, it just causes problems
2018-11-23 11:58:30 +01:00
Arne Döring
bfcf82c7e5
maybe this time?
2018-11-23 11:58:29 +01:00
Arne Döring
d60615583f
hopefully this time the tests will compile on the server
2018-11-23 11:58:29 +01:00
Arne Döring
27a9e369de
fix coro test
2018-11-23 11:58:29 +01:00
Arne Döring
534601637a
more tests fixed
2018-11-23 11:58:29 +01:00
Arne Döring
9c2365d5c2
activated more tests, allow input in test spec
2018-11-23 11:58:28 +01:00
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
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
cooldome
086676782a
Add isInstanceOf for generic procs to the macros module ( #9730 )
2018-11-21 21:30:03 +01:00