summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix logical right shift in VM. (#5916)Parashurama2017-06-051-0/+2
|
* fix orderedtable enlarge proc. (#5937)Parashurama2017-06-051-0/+18
| | | This fixes issue #5917
* .partial object field names are left unmangled; mangling should be done by ↵Andreas Rumpf2017-06-051-2/+2
| | | | the macro instead
* first steps to allow easy functors via macrosAndreas Rumpf2017-06-041-0/+19
|
* fixes #5933Andreas Rumpf2017-06-031-0/+51
|
* review and merge zahary's work (#5849)zah2017-06-033-9/+32
| | | | | | | | | * proper indentation for the generated JS code * improved dead-code elimination for JavaScript * test the JS dead-code elimination A new test spec has been added - "maxcodesize". It specifies the maximum size of the generated code in bytes.
* improved comment satement support in macros (#5904)Arne Döring2017-06-021-19/+19
|
* fix right shift c codegen bug. (#5919)Parashurama2017-05-311-0/+18
| | | | | | * fix right shift c codegen bug. signed int must first be cast as unsigned before converting to larger integer. The C compiler will auto convert operands to the largest type.
* Creating and setting comment nodes in macros (#5850)Fredrik Høisæther Rasch2017-05-311-0/+8
| | | | | | | * strVal assingnable comment statement ast nodes * Set comment instead of strVal for comment nodes * Added test code for creating and setting comment nodes * Modified the AST spec documentation for documentation comments
* more and improved newLit procs in macros moduleArne Döring2017-05-231-0/+140
|
* Merge branch 'araq2' into develAraq2017-05-1727-15/+1644
|\
| * file mode changeAraq2017-05-171-0/+0
| |
| * Merge branch 'zahary' into araq2Andreas Rumpf2017-05-177-2/+604
| |\
| | * fix affecting templates with explicit generic paramsZahary Karadjov2017-05-131-0/+13
| | |
| | * fix tinvalidinoutZahary Karadjov2017-05-131-4/+4
| | |
| | * attempt to fix a compilation problem caused by nimcacheZahary Karadjov2017-05-131-0/+0
| | |
| | * work-around for defining imported types with weak covarianceZahary Karadjov2017-05-131-4/+7
| | |
| | * covariance for arrays and sequencesZahary Karadjov2017-05-121-36/+204
| | |
| | * covariance for generic importc typesZahary Karadjov2017-05-121-0/+253
| | |
| | * support for external types with covariant generic paramsZahary Karadjov2017-05-081-0/+26
| | |
| | * fix 5756Zahary Karadjov2017-04-301-0/+39
| | |
| | * close #5757Zahary Karadjov2017-04-301-1/+23
| | |
| | * alternative fake covariance based on convertersZahary Karadjov2017-04-282-3/+25
| | |
| | * more advanced fake covarianceZahary Karadjov2017-04-281-3/+48
| | |
| | * a simple way to simulate covariance in generic typesZahary Karadjov2017-04-281-0/+11
| | |
| * | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-1621-14/+1041
| |\|
| | * fix a regrsesion in signature matching of derived ptr typesZahary Karadjov2017-04-181-0/+20
| | |
| | * more sophisticated test for the previous commitZahary Karadjov2017-04-161-2/+22
| | |
| | * fix compilation regression in aleaZahary Karadjov2017-04-161-0/+33
| | |
| | * fix a compilation error in linalgZahary Karadjov2017-04-161-0/+16
| | |
| | * fix #5689Zahary Karadjov2017-04-152-1/+69
| | |
| | * fix #5683Zahary Karadjov2017-04-141-0/+15
| | |
| | * fix a parsing regression (do is still mandatory in some situations)Zahary Karadjov2017-04-141-0/+16
| | |
| | * allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-1/+7
| | | | | | | | | | | | | | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator.
| | * lift parameter-less do block to lambdasZahary Karadjov2017-04-103-9/+11
| | |
| | * support post expression blocks in return and yieldZahary Karadjov2017-04-101-2/+1
| | |
| | * fix a regression in tlexerexZahary Karadjov2017-04-101-3/+2
| | |
| | * fix a parsing regression (calls with do inside param lists)Zahary Karadjov2017-04-101-0/+19
| | | | | | | | | | | | | | | This treatment is applied only when "do" is used, because the code foo(x: bar) is recognized as object construction.
| | * fully consisent parsing between the new and the old 'do blocks'Zahary Karadjov2017-04-101-0/+478
| | |
| | * the new blocks without 'do' produce compatible AST with 'do blocks'Zahary Karadjov2017-04-091-8/+6
| | |
| | * improve the usability of the jsffi moduleZahary Karadjov2017-04-091-4/+48
| | | | | | | | | | | | | | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable
| | * fix the do notation when used with procsZahary Karadjov2017-04-091-0/+47
| | |
| | * fix #5643; fix #5644Zahary Karadjov2017-04-081-0/+30
| | |
| | * Restore the Nim's 0.14 proper handling of generic aliasesZahary Karadjov2017-04-084-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A more efficient implementation is possible by restoring the old lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam, but this fix will suffice for now. fixes #5087 fixes #5602 fixes #5641 fixes #5570
| | * test case for #5640Zahary Karadjov2017-04-071-0/+6
| | |
| | * fix #5658Zahary Karadjov2017-04-071-0/+22
| | |
| | * fix #5654Zahary Karadjov2017-04-071-0/+42
| | |
| | * fix #5642Zahary Karadjov2017-04-071-0/+25
| | |
| | * fix #5648Zahary Karadjov2017-04-071-0/+21
| | |
* | | Fixes #5761.Dominik Picheta2017-05-171-1/+21
| | |