summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* static[T] related fixes (#15853)cooldome2020-11-061-0/+101
| | | | | | | | | * close #9679 * close #7546 * close #9520 * close #6177
* fix #15609 (#15856)cooldome2020-11-051-0/+33
| | | | | * fix #15609 * fix test
* Fix #12636 (#15850)cooldome2020-11-051-1/+13
| | | | | | | | | * close #11142 * fix #12636 * undo unwanted changes * fix illegal recursion case
* close #11142 (#15847)cooldome2020-11-051-0/+14
|
* fix adding empty sequence to HTTP headers (#15783)flywind2020-11-051-0/+27
| | | | | * fix adding empty sequence to HTTP headers * add tests
* fix #15663 (#15839) [backport:1.4]flywind2020-11-051-0/+7
|
* fix #15463 (#15831)flywind2020-11-051-1/+11
|
* close #10307(add testcase for #10307) (#15840)flywind2020-11-051-0/+23
|
* close #8457 (#15844)flywind2020-11-051-0/+11
|
* fix static[Slice[T]] as argument issue (#15842)cooldome2020-11-041-0/+12
|
* Clarify the sense in which Nim supports recursive iterators in the (#15834)c-blake2020-11-041-2/+2
| | | manual, the tutorial, and the `tbintree` test.
* fix #15835 (#15838)flywind2020-11-041-0/+17
| | | | | * fix #15835 * add tests
* fix #12640 (#15829)flywind2020-11-031-0/+25
|
* follow #15818 and close #7109 (#15823)flywind2020-11-021-0/+8
| | | | | | | | | * follow #15818 and close #7109 * Update compiler/jsgen.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* `ioutils` are moved to `fusion` (#15822)Miran2020-11-021-49/+0
|
* fixes #15804 (#15820)Andreas Rumpf2020-11-022-3/+18
| | | | | | | | | * fixes #15804 * fix the existing test * add the testcase for #15804 Co-authored-by: narimiran <narimiran@disroot.org>
* fixes #15594 (#15819)flywind2020-11-021-0/+10
|
* Handle BLOB column type in SQLite as binary data (#15681)Regis Caillaud2020-11-021-0/+50
| | | | | | * Fixed not handling blob correctly in sqlite * Fixed setLen commented by mistake * Added binary example as db_sqlite doc * Added tests for sqlite binary data
* Closure iterators are not supported by VM (#15818)flywind2020-11-021-0/+9
|
* fix #8821 (#15809)flywind2020-11-021-0/+12
|
* fixes #15717flywind2020-11-021-0/+19
|
* fix #15815 (#15817)flywind2020-11-021-0/+16
|
* fix #15145 (#15816)flywind2020-11-021-0/+11
|
* closes #3670 [add testcase for #3670] (#15808)flywind2020-11-011-0/+11
| | | | | | | * add testcase * Update tests/template/twhenintemplates.nim Co-authored-by: Clyybber <darkmine956@gmail.com>
* fix #15651 (#15800)flywind2020-10-311-0/+18
| | | | | * fix * minor
* [closes #12682]add testcase for #12682 (#15796)flywind2020-10-311-0/+11
| | | | | * add testcase for #12682 * fix
* add testcase for #14227 (#15794)flywind2020-10-301-0/+23
|
* [closes #11625 and closes #2488]add global and threadvar(with ↵flywind2020-10-301-0/+30
| | | | | | | | | | | | | | | `--threads:off` mode ) pragmas supports for JS backend (#15772) * add global pragma support for js backend * globalThis * add support for threadvar * more tests * Update compiler/jsgen.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* closes #6036 (#15779)flywind2020-10-301-0/+11
| | | | | | | | | * add testcase for #6036 * try * try again * make it work
* closes #7374 (#15781)flywind2020-10-301-0/+29
| | | | | | | * add testcase for #7374 * minor * fix test
* add testcase for #7416 (#15782)flywind2020-10-301-0/+9
|
* closes #7658 (#15784)flywind2020-10-301-0/+7
| | | | | * fix #7658 * more
* add testcase for #8012 (#15785)flywind2020-10-301-0/+15
|
* add testcase for #9165 (#15787)flywind2020-10-301-0/+11
|
* add testcase for #9091 (#15791)flywind2020-10-301-0/+36
| | | | | * add testcase for #9091 * more tests
* fix #15638 (#15789)flywind2020-10-301-0/+3
|
* add testcase for #7127 (#15780)flywind2020-10-301-0/+2
|
* add tests for #7686 (#15771)flywind2020-10-291-0/+9
|
* fixes #15413 (#15768)Andreas Rumpf2020-10-291-0/+3
| | | | | | | * fixes #15413 * better hide it properly * see if this makes our list of important packages happy
* fix #15756 (#15761)cooldome2020-10-281-0/+12
| | | | | * fix #15756 * simplify test
* ARC now capable of custom extra alignment. Ref, closure and seq support. ↵cooldome2020-10-282-17/+146
| | | | (#15697)
* change/remove deprecated stuffnarimiran2020-10-281-23/+5
|
* fix #15750narimiran2020-10-281-0/+6
|
* fix #15752 (#15754)cooldome2020-10-281-0/+9
|
* honor --declaredLocs in more places, including type mismatch errors; also ↵Timothee Cour2020-10-273-4/+4
| | | | | | | show `kind` with --declaredLocs (#15673) * honor --declaredLocs in more places, including type mismatch errors * fix tests * show declaration location also when type mismatch names clash
* fixes #10456,#12928 issues when chaining templates to sortedByIt (#15734)shirleyquirk2020-10-271-0/+18
| | | | | | | | | | | | | | | * update c_malloc's to csize_t fix for broken --os:ios * I'm an idiot sorry * Create talgorithm.nim * workaround for #10456 I don't understand the intricacies of how lambdalifting and template expansions interact with lent, so i don't know how to fix the real problem, but this sidesteps whatever issue that is. * working test, use typeof rather than auto
* Add C function dup and dup2 posix to system/io (#15675)Regis Caillaud2020-10-271-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | * * Add handle to dup and dup2 posix as duplicate and duplicateTo in std/ioutils. * Added small test & changelog entry * Fixed import in tioutils removed when isMainModule * * Nest test inside block. Rename proc var -> let in captureStdout * Renamed tmpfile to iotuils.txt * Added block: # duplicate, duplicateTo * Improved docstring * Clean non-idiomatic code * Added runnable examples * rm 2 trailing space in expected output * Made syntax prettier * Runnable example: file in getTempDir() * Tmp -> Temp * Fixed runnableExamples on windows
* add tests for Testament "reject" action (#15709)n5m2020-10-272-0/+8
| | | | | | | | | | | * add test for reject action * highlight that a compilation failure is expected * add the converse test for action=reject * add trailing newline * fix wording
* [backport] fix #15595 procvar `==` works in VM (#15724)Timothee Cour2020-10-261-0/+24
|
* ensure the Nim compiler works with --experimental:strictFuncs ↵Andreas Rumpf2020-10-262-0/+15
| | | | --experimental:views [backport:1.4] (#15737)