summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* disable some tests for the C++ target; refs #7870Araq2018-11-158-44/+25
|
* Converter bug fixes (#9700)cooldome2018-11-151-0/+107
| | | | | * Fixes #9698 * Fixes #9699
* Of operator in vm fixes [backport] (#9717)cooldome2018-11-151-0/+51
| | | | | | * fixes #9701 * fixes #9702 * optimize of statement to bool
* fix #9647 tmpl=>nimf (#9658)Timothee Cour2018-11-142-1/+1
|
* Disable tasyncssl on Windows to fix CIDominik Picheta2018-11-131-0/+1
| | | Workarounds #9689
* Merge pull request #9687 from narimiran/fix-7192Dominik Picheta2018-11-131-0/+14
|\ | | | | export `asyncdispatch.callSoon` (fixes #7192)
| * export `asyncdispatch.callSoon` (fixes #7192)narimiran2018-11-121-0/+14
| |
* | Add proc `[]`(n: NimNode, s: HSlice[T, U]): seq[NimNode] to macros (#7735)Lolo Iccl2018-11-101-0/+38
| | | | | | fixes #7670.
* | complete future only once in `or` (fixes #8982) (#9632)Miran2018-11-091-0/+33
| | | | | | | | | | | | | | | | | | * complete future only once in `or` Analogous to `and`. Credits to @k0zmo for proposing the solution. * add test
* | deprecated ospaths (#9665)Andreas Rumpf2018-11-091-1/+1
| |
* | newLit works on enum (#9662)Arne Döring2018-11-091-0/+20
|/ | | | | | * newLit works on enum * remove debugging echo
* fixes #9619Andreas Rumpf2018-11-091-35/+42
|
* add illegal discard testArne Döring2018-11-081-0/+9
|
* adopt testsArne Döring2018-11-083-13/+12
|
* fixes #9633Andreas Rumpf2018-11-081-1/+17
|
* Merge pull request #9642 from narimiran/callback-orderDominik Picheta2018-11-071-2/+3
|\ | | | | keep the order of the callbacks
| * keep the order of the callbacksnarimiran2018-11-071-2/+3
| |
* | parser change: 'not' is always a unary operator; fixes #9574Andreas Rumpf2018-11-071-0/+5
|/
* fixes #9600 (#9601)jcosborn2018-11-071-0/+11
|
* times - remove unneeded negative sign when parsing formats z and zz (#9631)pgkos2018-11-061-0/+9
| | | | | | * fix wrong utcoffset sign for formats z and zz * add tests for the timezone offset formats
* Merge tests into a larger file (part 8 of ∞) (#9583)Miran2018-11-0651-835/+862
| | | | | | | | * merge tuple tests * merge trmacros tests * merge template tests
* removed the undocumented #? strongSpaces parsing modeAraq2018-11-061-83/+0
|
* language cleanup: the .unchecked pragma is deadAraq2018-11-061-1/+1
|
* make `mod` on floats available in the VM (#9591)skilchen2018-11-051-0/+130
| | | | | | * make `mod` on floats available in the VM * add testcase * removed no longer needed imports
* added test case for #9594Araq2018-11-031-0/+31
|
* Add test for #6836 (#9602)Neelesh Chandola2018-11-021-1/+1
|
* Added "typeof" and "restrict" to special words. (#9226)Alexandros Naskos2018-11-011-0/+39
| | | | | * Added "typeof" and "restrict" to special words. * Added C and C++ reserved keyword as object field identifier test
* Quote do now works with result in block (#7343)PMunch2018-10-311-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix result not being able to use in quote do This fixes the annoying issue of not be able to use result inside a quote do block. It works by a simple trick. The quote do mechanic is based on dynamically creating a template and immediately calling it with the arguments found within the quote do block. Since this is called in the scope of the macro the result variable is shadowed. This trick works by changing all occurences of result (which shouldn't cause any issues as result isn't used for anything else for the same reason) to another name and then passing in an IdentNode with result as a named parameter with that name. Note that currently this just replaces it with a fixed named variable "res" which should be changed to a non-colliding, dynamically created name. * Fix hard coded parameter "res" to anonymous symbol This fixes the hard coded parameter "res" to be an anonymous symbol instead so it won't collide with other parts of the argument list. * Add test case for result in quote do block A simple test case based on GitHub issue #7323 on how you can't put result in a quote do block. This test verifies that it actually works correctly now. * Add test for explicit capturing of result * Rebased against devel
* make more tests green for C++; refs #7870Araq2018-10-304-2/+4
|
* Sizeof alignof fixes (#9568)Arne Döring2018-10-301-0/+14
| | | | | fixes #9545
* fixes #5549Araq2018-10-301-0/+10
|
* Add parsing empty attribs to htmlparser (#9559)rec2018-10-301-1/+14
|
* getTypeImpl now returns pragmas for object types (#9538)jcosborn2018-10-301-0/+18
|
* #9348 Merge some small test files (#9561)Ian2018-10-309-100/+102
| | | | * Consolidated types issue tests * Consolidated vm issue tests
* More descriptive names of test files (#9531)Miran2018-10-2920-7/+8
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* Merge pull request #9541 from narimiran/fix-6986Arne Döring2018-10-291-0/+16
|\ | | | | Closes #6986
| * Closes #6986narimiran2018-10-281-0/+16
| |
* | Make htmlparser parse unquoted attrib values (#9537)rec2018-10-291-0/+45
| | | | | | Fixes #6154
* | Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)cooldome2018-10-281-1/+3
| | | | | | * Fixes #9434
* | Remove install.txt and readme.txt (#9521)Utwo2018-10-287-8/+9
| | | | | | | | | | | | | | | | * Remove install.txt and readme.txt * Refactor tests that use readme.txt * Tests open own source code
* | Fix strscans.scanp (#9518)xzfc2018-10-281-0/+86
| | | | | | | | | | | | | | | | * strscans: fix typo * strscans: fix #9240 * strscans: add tests
* | Parse the usage of the SQL in operator properly (#9527)zah2018-10-281-1/+1
| | | | | | Also adds a `treeRepr` renderer for the SQL nodes.
* | make tests\benchmarks programs compile againAraq2018-10-282-34/+34
| |
* | Merge pull request #9496 from cooldome/vm_float_castsArne Döring2018-10-281-0/+47
|\ \ | |/ |/| VM: add int <-> float casts of the same size
| * Merge branch 'devel' into vm_float_castsAndrii Riabushenko2018-10-242-0/+10
| |\
| * | Add testAndrii Riabushenko2018-10-241-0/+47
| | |
* | | Improve dumpLisp macro (#9515)Kaushal Modi2018-10-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve dumpLisp macro - Remove commas from the lisp representation of the AST. - Make the dumpLisp output "pretty" and indented. - Improve docs of `dumpTree` and `dumpLisp` macros. With: dumpLisp: echo "Hello, World!" Output before this commit: StmtList(Command(Ident("echo"), StrLit("Hello, World!"))) Output after this commit: (StmtList (Command (Ident "echo") (StrLit "Hello, World!"))) * Re-use the traverse proc inside treeRepr for lispRepr too - Add module-local `treeTraverse` proc. - Also fix treeRepr/dumpTree not printing nnkCommentStmt node contents. * More doc string updates * Allow unindented lispRepr output for tests * Update a test affected by the lispRepr change * Fix dumpTree * Add note about lispRepr and dumpLisp to changelog [ci skip]
* | | correct tnoop test caseAraq2018-10-251-2/+3
| |/ |/|
* | make tests green againAndreas Rumpf2018-10-241-0/+1
| |
* | fixes #9276 (#9317)Arne Döring2018-10-241-0/+9
|/