summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* closes #5252Araq2018-09-031-0/+19
|
* closes #4750Araq2018-09-031-0/+19
|
* fixes #8740Araq2018-09-031-0/+15
|
* fixes #8847Araq2018-09-031-1/+9
|
* fixes #8052Araq2018-08-311-0/+23
|
* Constant folding for integer casts (#8095)LemonBoy2018-08-311-0/+60
|
* Do not materialize empty varargs[untyped] arrays (#8715)LemonBoy2018-08-311-0/+21
| | | | | | | | | When an empty nkArgList `varargs[untyped]` is passed around it is now reused for efficiency sake and to prevent the introduction of a spurious element: before this commit we'd pass the caller a nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty nkArgList. Fixes #8706
* merged #8624 manually; fixes #8442; closes #8575Araq2018-08-311-0/+32
|
* fixes #8066Araq2018-08-311-0/+19
|
* introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-301-1/+13
|
* fixes #7854Araq2018-08-301-0/+36
|
* Allow `hint` and `warning` to specify its loc info (#8771)LemonBoy2018-08-281-0/+24
| | | Let's bring those to feature-parity with `error`.
* fixes #4766Araq2018-08-281-0/+19
|
* 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
| |/