summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* added a test to ensure that for-loop-variables cannot be mutatedAraq2018-08-281-0/+15
|
* Fix nkImportAs regression (#8796)Oscar Nihlgård2018-08-281-0/+5
|
* added missing file to make tests greenAraq2018-08-271-0/+30
|
* allow .experimental in a .push/pop environment; refs #8676Araq2018-08-271-0/+13
|
* fixes #8781 by appending "_U" instead of 'U' (#8787)Vindaar2018-08-271-0/+25
|
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-253-15/+81
|
* Process timers before and after `select`. Fixes flaky #7758 test. (#8750)Dominik Picheta2018-08-251-5/+6
|
* More checks for custom pragmas placement (#8765)LemonBoy2018-08-251-1/+1
| | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them.
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-36/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* fixes 8754 (#8755)cooldome2018-08-241-5/+14
| | | | | | * fixes 8754 * improve test
* disables flaky test; fixes #8756Andreas Rumpf2018-08-241-0/+1
|
* Validate pragmas attached to for variables (#8749)LemonBoy2018-08-241-0/+10
| | | Fixes #8741
* Adds test case for #6846. (#8729)Dominik Picheta2018-08-231-0/+16
|
* Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-231-0/+17
| | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* fixes merge conflictAraq2018-08-2317-146/+251
|\
| * Fix for module alias inside brackets (#8726)Oscar Nihlgård2018-08-231-0/+11
| |
| * Fixes #8719 (onFailedAssert now works for doAssert) (#8731)awr12018-08-231-0/+11
| |
| * Cleanup ttimes (#8714)Oscar Nihlgård2018-08-222-144/+72
| | | | | | | | | | | | * Refactor fromWinTime * Cleanup ttimes
| * Fix abs & unary sub in semfold (#8724)Oscar Nihlgård2018-08-221-0/+4
| |
| * Pick skParam symbols when resolving type idents (#8720)LemonBoy2018-08-221-0/+10
| | | | | | Fixes #8357
| * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700)LemonBoy2018-08-221-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms.
| * Fix #8126 (#8712)zah2018-08-212-0/+16
| | | | | | | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release.
| * HTML generation in testament works again (#8702)LemonBoy2018-08-211-2/+2
| | | | | | Fallout from the nil-str patch. Nothing to see here, move along.
| * More robust handling of deprecated pragmas (#8696)LemonBoy2018-08-213-0/+40
| | | | | | | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867
| * sfForward is also sfReorder for skModule symbols (#8692)LemonBoy2018-08-211-0/+1
| | | | | | | | | | Take this into account while searching for undefined forward references. Fixes #8665
| * Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-201-0/+36
| |
| * Update all the default parameters after an instantiation (#8689)LemonBoy2018-08-201-0/+11
| | | | | | | | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683
| * exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-202-7/+7
| | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
| * Expand tyAlias in typeToString (#8634)LemonBoy2018-08-181-0/+8
| | | | | | Fixes #8339
* | make nake test compile againAraq2018-08-221-1/+1
| |
* | make tdefault_nil test compile againAraq2018-08-221-1/+1
| |
* | make more tests green; system.repr does not produce 'nil' for strings and ↵Araq2018-08-223-4/+4
| | | | | | | | seqs anymore
* | make more things compile without isNilAraq2018-08-221-2/+1
| |
* | even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-222-1/+2
| |
* | workaround the fact that top level statements currently don't produce ↵Araq2018-08-211-6/+9
| | | | | | | | destructor calls
* | fixes merge conflictAndreas Rumpf2018-08-1964-213/+398
|\ \
| * | make tests green againAndreas Rumpf2018-08-182-7/+7
| |/
| * times.Timezone changes (#8527)Oscar Nihlgård2018-08-172-29/+11
| | | | | | | | | | | | | | | | | | | | * Use floorDiv in times.nim * New implementation of times.Timezone * Tweak doc comments * Fix typo
| * Fixes 8535 (#8591)LemonBoy2018-08-171-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Goodbye postInitProc * Give preInitProc its own scope Avoid any conflict between the variables introduced by preInitProc and initProc since both are codegen'd in the same function body. * Fix codegen for global var init in emulated TLS Fixes #8535 * Add test for #8535 * Keep a bogus stack frame around * Remove more dead code
| * Merge branch 'araq-misc' into develAraq2018-08-1641-161/+113
| |\
| | * Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-165-4/+34
| | |\
| | * | put the new for loop macros under an experimental switch named 'forLoopMacros'Andreas Rumpf2018-08-151-1/+1
| | | |
| | * | changes how the now illegal 'string == nil' comparison is detectedAndreas Rumpf2018-08-151-0/+4
| | | |
| | * | renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-2/+2
| | | |
| | * | make tests green againAraq2018-08-136-52/+11
| | | |
| | * | Merge branch 'devel' into araq-miscAraq2018-08-138-2/+61
| | |\ \
| | * | | make NimInAction tests greenAraq2018-08-131-0/+2
| | | | |
| | * | | fixes more nil handling regressionsAraq2018-08-139-47/+33
| | | | |
| | * | | make more tests greenAndreas Rumpf2018-08-135-19/+19
| | | | |
| | * | | make generic tests green againAndreas Rumpf2018-08-131-2/+2
| | | | |