Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Testament pre parallel (#9137) | Jacek Sieka | 2018-10-12 | 10 | -1981/+2 |
| | | | | | | | | | | * testament: move to root dir (it's not a test) * osproc: fix process index passed to afterRunEvent for parallel runs it was passing the index of the process, not index of all commands * testament: complete file move | ||||
* | Merge tests into a larger file (part 1 of ∞) (#9318) | Miran | 2018-10-12 | 103 | -3397/+3765 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test | ||||
* | string to string conversion keeps the dest type (#9323) | LemonBoy | 2018-10-12 | 1 | -0/+12 |
| | | | Fixes #9322 | ||||
* | 8684 add shortcut sort procs (#9174) | Konstantin Molchanov | 2018-10-11 | 1 | -1/+61 |
| | | | | | | | | * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. | ||||
* | fixes #9281 | Araq | 2018-10-11 | 1 | -0/+15 |
| | |||||
* | fixes #9297 (#9298) | cooldome | 2018-10-11 | 1 | -1/+41 |
| | | | | | | * fixes #9297 * improve spacing | ||||
* | test case for #9180 and re-enables the disabled tcompilerapi test (#9181) | Timothee Cour | 2018-10-11 | 1 | -22/+22 |
| | | | | | | * add findNimStdLibCompileTime and un-disable tcompilerapi test; add test case for #9180 * address comments | ||||
* | compiler: show name of instantiating context in error traces (#6763) (#9207) | xzfc | 2018-10-11 | 3 | -4/+7 |
| | |||||
* | Fix wrong heuristic in codegen (#9293) | LemonBoy | 2018-10-11 | 1 | -0/+22 |
| | | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286 | ||||
* | Fix tests on NixOS (#9209) (#9285) | xzfc | 2018-10-10 | 3 | -4/+4 |
| | | | | | | | * Replace `/bin/sleep` with just `sleep`, i.e. use environment variable `$PATH` to locate binary. * Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined, fallback to hardcoded path otherwise. This is the same behavior that Glibc2 normally have, see man 3 tzset. | ||||
* | Unchecked arrays now have their own type (#9267) | LemonBoy | 2018-10-10 | 1 | -0/+4 |
| | |||||
* | fixes #9263 | Andreas Rumpf | 2018-10-10 | 1 | -0/+117 |
| | |||||
* | Iter test: closes #3819 (#9272) | Miran | 2018-10-10 | 1 | -0/+28 |
| | |||||
* | Fix macro expansion in expandMacros (#8998) | LemonBoy | 2018-10-09 | 1 | -0/+19 |
| | | | | | | | | | | * Fix macro expansion in expandMacros Running a semanticized node trough the semantic pass was a bad idea. Fixes #7723 * Simpler smaller implementation | ||||
* | fix tests/generics/t8694.nim: runnableExamples were not run because of #9216 ↵ | Timothee Cour | 2018-10-09 | 1 | -3/+3 |
| | | | | (#9262) | ||||
* | Fix overload resolution for pragmas evaluation (#8902) | LemonBoy | 2018-10-09 | 4 | -1/+23 |
| | | | | Fixes #6448 Fixes #4384 | ||||
* | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 3 | -0/+75 |
| | | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend | ||||
* | Try/Catch support for native JS exceptions (#8955) | LemonBoy | 2018-10-09 | 1 | -0/+31 |
| | | | | | | * Try/Catch support for native JS exceptions * Better tests | ||||
* | Fix transformation of yield in inline context (#9135) | LemonBoy | 2018-10-09 | 1 | -0/+35 |
| | | | | | | When the loop variables are part of the envP block it is not safe to use a nkFastAsgn. Fixes #2656 | ||||
* | Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183) | Dominik Picheta | 2018-10-09 | 1 | -0/+20 |
| | | | | | | * Fixes #8994. FutureStream read procedure data loss no longer occurs. * Optimises the fix for #8994. | ||||
* | fix #8341: add lastPathPart (#9116) | Timothee Cour | 2018-10-09 | 1 | -19/+42 |
| | |||||
* | asyncmacro: add nnkSym support for getName() (#9204) | alaviss | 2018-10-09 | 1 | -0/+14 |
| | | | Fixes #9201 | ||||
* | Fix range type construction in the VM (#9205) | LemonBoy | 2018-10-09 | 1 | -0/+20 |
| | | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194 | ||||
* | os: use unlink() to remove file (#9220) | alaviss | 2018-10-09 | 1 | -0/+9 |
| | | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200 | ||||
* | fixes #9222 (#9224) | cooldome | 2018-10-09 | 2 | -0/+26 |
| | |||||
* | Codegen fix for procs taking type(nil) (#9231) | xzfc | 2018-10-09 | 1 | -0/+6 |
| | |||||
* | Prevent the construction of recursive tyStatic types (#9256) | LemonBoy | 2018-10-09 | 1 | -0/+13 |
| | | | Fixes #9255 | ||||
* | Add checks for except: body blocks (#9191) | Dheepak Krishnamurthy | 2018-10-09 | 2 | -0/+22 |
| | |||||
* | fixes #4435 (#9185) | jcosborn | 2018-10-09 | 1 | -0/+21 |
| | |||||
* | Fix regression w/ templates defined in async proc | LemonBoy | 2018-10-03 | 1 | -0/+11 |
| | |||||
* | closes #5868 | Araq | 2018-10-03 | 1 | -0/+19 |
| | |||||
* | fixes #5015 | Araq | 2018-10-03 | 1 | -1/+18 |
| | |||||
* | fixes #7092 | Araq | 2018-10-02 | 1 | -2/+12 |
| | |||||
* | fixes #5479 | Araq | 2018-10-02 | 1 | -1/+18 |
| | |||||
* | fixes #6533 | Araq | 2018-10-02 | 1 | -1/+7 |
| | |||||
* | closes #6249 | Araq | 2018-10-02 | 1 | -0/+22 |
| | |||||
* | Merge branch 'devel' into fix_issues_9126 | Andreas Rumpf | 2018-10-01 | 5 | -1/+99 |
|\ | |||||
| * | Fix regression with runnableExamples in generic expr | LemonBoy | 2018-09-30 | 2 | -0/+64 |
| | | | | | | | | | | | | | | | | The examples should not enter the generic analysis at all. The regression was introduced in 4cf704bb as a fix for #8694. Fixes #9130 Fixes #8694 | ||||
| * | Fix ioTests category after rename | Sergey Avseyev | 2018-09-29 | 1 | -1/+1 |
| | | | | | | | | Broken in e39f2a9283fc63f529d74acb0d50b0035d513e79 | ||||
| * | Merge pull request #9121 from timotheecour/pr_fix_tasyncfilewrite | Andreas Rumpf | 2018-09-29 | 1 | -0/+1 |
| |\ | | | | | | | remove test_async.txt after test to keep git status clean | ||||
| | * | remove test_async.txt after test to keep git status clean | Timothee Cour | 2018-09-29 | 1 | -0/+1 |
| | | | |||||
| * | | don't require an implementation for procs marked with .error; activate the ↵ | Araq | 2018-09-29 | 1 | -0/+33 |
| |/ | | | | | | | move optimizer for destructors | ||||
* / | Fix #9126: use splitPath instead of substr | Yasuhiro Horimoto | 2018-09-30 | 1 | -0/+14 |
|/ | |||||
* | Fix codegen for some set operations | LemonBoy | 2018-09-28 | 1 | -0/+12 |
| | | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098 | ||||
* | Constant folding should not drop distinct types | LemonBoy | 2018-09-27 | 1 | -0/+19 |
| | | | | Fixes #9079 | ||||
* | fixes #9076 | Araq | 2018-09-26 | 1 | -0/+22 |
| | |||||
* | testament: quote categories too because of 'dir with space' test | Araq | 2018-09-26 | 1 | -2/+2 |
| | |||||
* | make t7346 work again | Andreas Rumpf | 2018-09-24 | 1 | -0/+0 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-09-24 | 5 | -17/+13 |
| | |||||
* | C codegen: support system.move and system.wasMoved | Andreas Rumpf | 2018-09-24 | 1 | -0/+19 |
| |