summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression with runnableExamples in generic exprLemonBoy2018-09-302-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 renameSergey Avseyev2018-09-291-1/+1
| | | | Broken in e39f2a9283fc63f529d74acb0d50b0035d513e79
* Merge pull request #9121 from timotheecour/pr_fix_tasyncfilewriteAndreas Rumpf2018-09-291-0/+1
|\ | | | | remove test_async.txt after test to keep git status clean
| * remove test_async.txt after test to keep git status cleanTimothee Cour2018-09-291-0/+1
| |
* | don't require an implementation for procs marked with .error; activate the ↵Araq2018-09-291-0/+33
|/ | | | move optimizer for destructors
* Fix codegen for some set operationsLemonBoy2018-09-281-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 typesLemonBoy2018-09-271-0/+19
| | | | Fixes #9079
* fixes #9076Araq2018-09-261-0/+22
|
* testament: quote categories too because of 'dir with space' testAraq2018-09-261-2/+2
|
* make t7346 work againAndreas Rumpf2018-09-241-0/+0
|
* make tests green againAndreas Rumpf2018-09-245-17/+13
|
* C codegen: support system.move and system.wasMovedAndreas Rumpf2018-09-241-0/+19
|
* enable destructors for top level statements; needs to be documentedAndreas Rumpf2018-09-242-1/+3
|
* Merge pull request #9046 from LemonBoy/fix-9043Andreas Rumpf2018-09-231-0/+10
|\ | | | | Fix for VM codegen with static[T] types
| * Fix for VM codegen with static[T] typesLemonBoy2018-09-231-0/+10
| | | | | | | | Fixes #9043
* | Merge pull request #8746 from LemonBoy/nil-optsAndreas Rumpf2018-09-231-0/+13
|\ \ | |/ |/| nil strings are movable
| * nil strings are movableLemonBoy2018-09-221-0/+13
| |
* | Merge pull request #9035 from LemonBoy/fix-3075Andreas Rumpf2018-09-221-0/+29
|\ \ | | | | | | Skip nested procedures in .async. macro
| * | Skip nested procedures in .async. macroLemonBoy2018-09-221-0/+29
| | | | | | | | | | | | Fixes #3075
* | | Merge pull request #9020 from LemonBoy/fix-9019Andreas Rumpf2018-09-221-0/+27
|\ \ \ | | | | | | | | Revert #7964
| * | | Revert #7964LemonBoy2018-09-211-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Somehow the test case doesn't crash anymore and the regression in the doc generation is fixed. Fixes #9019
* | | | enhance iterator test case, ensure consistency between inline and closure ↵Araq2018-09-221-2/+35
| | | | | | | | | | | | | | | | iterators regarding parameter passing semantics
* | | | Fix locals() interaction with generic typesLemonBoy2018-09-211-0/+19
| |/ / |/| | | | | | | | | | | | | | | | | Follow the same logic as semTupleFieldsConstr and only skip skVar since we're gonna add a nkDefer anyway. Fixes #8985
* | | Merge pull request #9015 from LemonBoy/fix-9013Andreas Rumpf2018-09-191-0/+9
|\ \ \ | |/ / |/| | Fix linking issue in cpp codegen
| * | Fix linking issue in cpp codegenLemonBoy2018-09-191-0/+9
| | | | | | | | | | | | | | | | | | | | | Declare the root symbol only once and have the other modules depending on it emit an `extern` declaration. Fixes #9013
* | | Convert *_family fields to cushortLemonBoy2018-09-194-11/+5
|/ / | | | | | | Fixes #9008
* | attempt to make travis green for 'koch testinstall'Andreas Rumpf2018-09-181-1/+8
| |
* | travis: run 'koch testinstall' on OSXAndreas Rumpf2018-09-181-8/+14
| |
* | Merge pull request #8996 from LemonBoy/fix-2574Andreas Rumpf2018-09-181-0/+14
|\ \ | | | | | | The VM cannot call methods
| * | The VM cannot call methodsLemonBoy2018-09-171-0/+14
| | | | | | | | | | | | Fixes #2574
* | | Merge pull request #8995 from LemonBoy/fix-4952Andreas Rumpf2018-09-181-0/+17
|\ \ \ | | | | | | | | Fix error during field access in VM
| * | | Fix error during field access in VMLemonBoy2018-09-171-0/+17
| |/ / | | | | | | | | | | | | | | | | | | Tuple constructors can't have nkExprColonExpr but may contain NimNodes of that kind. Fixes #4952
* | | Merge pull request #8937 from Vindaar/fixes-8925Andreas Rumpf2018-09-181-0/+16
|\ \ \ | | | | | | | | fix #8925 by using `getTypeInst` instead of `getType`
| * | | add test caseVindaar2018-09-171-0/+16
| |/ /
* | | Merge pull request #8983 from cooldome/codegen_crashAndreas Rumpf2018-09-181-1/+34
|\ \ \ | | | | | | | | Fixes 8979
| * | | Fixes 8979Andrii Riabushenko2018-09-161-1/+34
| | | |
* | | | Merge pull request #8990 from LemonBoy/fix-8259Andreas Rumpf2018-09-171-0/+7
|\ \ \ \ | | | | | | | | | | Always check the deduced type validity for result
| * | | | Always check the deduced type validity for resultLemonBoy2018-09-171-0/+7
| | |/ / | |/| | | | | | | | | | Fixes #8259
* / | | Bugfix: custom pragmas were not working on public fieldsZahary Karadjov2018-09-171-1/+1
|/ / /
* | | Merge pull request #8968 from genotrance/test-6434Andreas Rumpf2018-09-161-0/+19
|\ \ \ | | | | | | | | Test case for #6434
| * | | Remove duplicateGanesh Viswanathan2018-09-161-19/+0
| | | |
| * | | Merge remote-tracking branch 'upstream/devel' into test-6434Ganesh Viswanathan2018-09-153-11/+42
| |\ \ \
| * | | | MoveGanesh Viswanathan2018-09-141-0/+19
| | | | |
| * | | | Merge remote-tracking branch 'upstream/devel' into test-6434Ganesh Viswanathan2018-09-1448-8/+27908
| |\ \ \ \
| * | | | | Test case for #6434Ganesh Viswanathan2018-09-141-0/+19
| | | | | |
* | | | | | closes #3837Andreas Rumpf2018-09-161-0/+81
| | | | | |
* | | | | | fixes #8911Andreas Rumpf2018-09-161-0/+15
| | | | | |
* | | | | | Merge pull request #8970 from genotrance/test-7010Andreas Rumpf2018-09-161-0/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | Test case for #7010
| * \ \ \ \ \ Merge remote-tracking branch 'upstream/devel' into test-7010Ganesh Viswanathan2018-09-153-11/+42
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| * | | | | | Merge remote-tracking branch 'upstream/devel' into test-7010Ganesh Viswanathan2018-09-1448-8/+27908
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |