summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Test case for #6434Ganesh Viswanathan2018-09-141-0/+19
|
* Test case for #6163 (#8960)genotrance2018-09-141-0/+17
| | | | * Test case for #6163
* Fix system.nim line number test case failureGanesh Viswanathan2018-09-121-3/+3
|
* Test cases for #6969 #7346 #7581Ganesh Viswanathan2018-09-123-0/+21
|
* Merge pull request #8941 from timotheecour/pr_fix_8928Andreas Rumpf2018-09-121-0/+19
|\ | | | | fix #8928 regression
| * add testcaseTimothee Cour2018-09-111-0/+19
| |
* | Merge pull request #8949 from nim-lang/araq-for-loop-expressionsAndreas Rumpf2018-09-121-0/+63
|\ \ | | | | | | For loop expressions
| * | add tcollect test for the new for-loops as expressions featureAndreas Rumpf2018-09-111-0/+63
| | |
* | | Fix add(string, cstring) when the lhs is null (#8951)LemonBoy2018-09-121-0/+4
| | |
* | | Fix concat behaviour for uninitialized strings (#8950)LemonBoy2018-09-111-0/+5
| |/ |/|
* | Fix semantic pass with borrowed magic procs (#8945)LemonBoy2018-09-111-0/+8
| | | | | | Reported by pqflx3 on the forum.
* | Always emit hti object types if needed (#8940)LemonBoy2018-09-111-0/+8
|/ | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938
* Narrowing casts are applied after every op if needed (#8918)LemonBoy2018-09-081-4/+39
| | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909
* Fix insert/delete for JS (#8915)LemonBoy2018-09-081-0/+12
| | | Fixes #8914
* Fix AST generation for case statements (#8908)LemonBoy2018-09-071-0/+7
| | | Fixes #7534
* Fix type comparison in semConv (#8907)LemonBoy2018-09-071-0/+7
| | | Fixes #8905
* Fixes #8243 (#8904)Yuriy Glukhov2018-09-071-0/+23
|
* Allow wCodegenDecl on lambdas (#8892)LemonBoy2018-09-071-0/+13
|
* Sync line generation between C and JS backends (#8888)LemonBoy2018-09-071-0/+26
| | | Fixes #7224
* Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-073-5/+26
| | | Fixes #7249
* Renderer bug fixes (#8804)cooldome2018-09-071-1/+46
| | | | | | Fixes #8763: render bug: pure enums not handled correctly Fixes #8762: render bug: binary operators called with quotes rendered incorrectly FIxes #8761: render bug: inversion of operator priorities
* Codegen fix for function pointers marked inline (#8866)LemonBoy2018-09-042-0/+27
| | | | Fixes #5345 Fixes #5701
* Fixes #8851 (#8859)Yuriy Glukhov2018-09-041-0/+13
|
* Correctly mangle `this` in the JS backend (#8853)LemonBoy2018-09-032-2/+25
| | | | | As shown in pragmagic/karax#67 using `this` as parameter name made the codegen output wrong code (and the user didn't notice the errors in the browser console).
* fixes #8043Araq2018-09-031-0/+24
|
* Add sym owner to macros (#8253)cooldome2018-09-031-1/+30
|
* improve the error message for 'addQuitProc' etc; fixes #5794Araq2018-09-031-1/+2
|
* fix items for cstring for the JS target; makes tests green againAraq2018-09-031-2/+2
|
* 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.