Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implement (#15153) | cooldome | 2020-08-04 | 1 | -1/+1 |
| | |||||
* | fixes a collect() bug reported on the forum (#15156) [backport:1.2] | Andreas Rumpf | 2020-08-04 | 2 | -2/+2 |
| | |||||
* | fixes #15129 [backport:1.2] (#15144) | Andreas Rumpf | 2020-08-01 | 1 | -1/+1 |
| | |||||
* | fixes #15130 (#15141) | Andreas Rumpf | 2020-08-01 | 2 | -2/+6 |
| | | | | | * fixes #15130 * you really have to copy from cursors | ||||
* | fixes #15122 [backport:1.2] (#15139) | Andreas Rumpf | 2020-08-01 | 1 | -0/+1 |
| | |||||
* | fixes #15111 (#15136) | Andreas Rumpf | 2020-08-01 | 5 | -24/+32 |
| | |||||
* | fixes #15071 [backport] (#15131) | Andreas Rumpf | 2020-07-31 | 1 | -3/+3 |
| | |||||
* | fixes #15112 (#15124) | Andreas Rumpf | 2020-07-30 | 1 | -8/+12 |
| | |||||
* | cursor and mutation tracking fixes (#15113) | Andreas Rumpf | 2020-07-30 | 6 | -363/+252 |
| | | | | | | | | * fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green | ||||
* | fix overloading case with generic alias (#15116) | jcosborn | 2020-07-30 | 1 | -1/+1 |
| | | | | | * fix overloading case with generic alias * revert reorganization of tests | ||||
* | Fix forward declaration issues in template/macro context (#15091) | Clyybber | 2020-07-29 | 13 | -93/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | * Fix forward declaration issues in template/macro context * Correct forward declaration resolving for overloads * Remove old dead code * WIP consistent gensym ids * Minimize diff * Remove obsoleted hack * Add templInstCounter to give unique IDs to template instantiations * Remove obsoleted code * Eh, init in myOpen, not myProcess... * Remove optNimV019 * Add testcase for #13484 | ||||
* | fixes #14616 [backport:1.2] (#15109) | Andreas Rumpf | 2020-07-29 | 1 | -0/+4 |
| | |||||
* | disable sink inference, only enable it for the stdlib. Reason: better source ↵ | Andreas Rumpf | 2020-07-28 | 1 | -1/+1 |
| | | | | code compatibility (#15105) | ||||
* | fixes #15076 (#15095) | Andreas Rumpf | 2020-07-27 | 3 | -28/+36 |
| | |||||
* | fix #14698 nkRecWhen caused internalAssert in semConstructFields when ↵ | Timothee Cour | 2020-07-27 | 1 | -1/+4 |
| | | | | | | | | | | | generic type not mentioned in fields (#14709) * fix #14698 nkRecWhen caused internalAssert in semConstructFields when generic type not mentioned in fields * address comment * Update compiler/semtypinst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStm… ↵ | Bung | 2020-07-27 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | (#15078) * fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStmtListExpr; genAsgn with lvalue tyVar and rvalue tyPtr * correct logic * add test for #11354 * handle nkHiddenAddr when n.len == 1 * Update compiler/jsgen.nim * Update compiler/jsgen.nim * Apply suggestions from code review Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | fixes #14189 (#15080) [backport] | Bung | 2020-07-27 | 1 | -2/+2 |
| | |||||
* | fixes a closure iterator memory leaks, progress on #15076 | Araq | 2020-07-27 | 1 | -1/+1 |
| | |||||
* | compiler: minor code cleanups | Araq | 2020-07-27 | 4 | -5/+4 |
| | |||||
* | fixes #15038 [backport:1.2] | Andreas Rumpf | 2020-07-26 | 2 | -46/+3 |
| | |||||
* | fixes #15052 | Andreas Rumpf | 2020-07-26 | 1 | -0/+11 |
| | |||||
* | strict func: much better error messages (#15068) | Andreas Rumpf | 2020-07-25 | 2 | -35/+76 |
| | | | | | * strict func: much better error messages * documented the 'strict funcs' mode | ||||
* | writing to a location counts as "side effect"; implements ↵ | Andreas Rumpf | 2020-07-25 | 4 | -5/+252 |
| | | | | https://github.com/nim-lang/RFCs/issues/234 (#15030) | ||||
* | fix #14684 (#15059) | Bung | 2020-07-25 | 1 | -0/+2 |
| | |||||
* | fix #14534 (#15060) [backport] | Bung | 2020-07-25 | 1 | -1/+1 |
| | |||||
* | fix assignment to converted concept type (#15051) | jcosborn | 2020-07-24 | 1 | -0/+4 |
| | | | | | | | * fix assignment to converted concept type * check for resolved concepts * add extra test | ||||
* | fixes #15056 [backport] | Araq | 2020-07-24 | 1 | -2/+6 |
| | |||||
* | fixes #15036 | Andreas Rumpf | 2020-07-23 | 2 | -3/+2 |
| | |||||
* | fixes #15044 [backport:1.2] | Andreas Rumpf | 2020-07-23 | 1 | -3/+5 |
| | |||||
* | fixes #15026 [backport] (#15040) | Andreas Rumpf | 2020-07-22 | 1 | -1/+1 |
| | | | no test case since only a special case was affected and the special case got removed | ||||
* | ARC: optimize the code better when --panics:off (#15031) | Andreas Rumpf | 2020-07-21 | 1 | -18/+24 |
| | |||||
* | cursor inference bugfix | Andreas Rumpf | 2020-07-20 | 1 | -2/+3 |
| | |||||
* | hotfix: firstOrd/lastOrd for 'tyLent' as it shows up in strange places, as usual | Andreas Rumpf | 2020-07-20 | 1 | -2/+2 |
| | |||||
* | fixes #14194 (#15023) | Andreas Rumpf | 2020-07-20 | 1 | -1/+2 |
| | |||||
* | 'isolate' builtin; refs https://github.com/nim-lang/RFCs/issues/244 (#15011) | Andreas Rumpf | 2020-07-20 | 7 | -6/+127 |
| | |||||
* | arc: cursors for simple for loop variables (#15008) | Andreas Rumpf | 2020-07-17 | 2 | -3/+23 |
| | | | | | * arc: cursors for simple for loop variables * merged devel | ||||
* | Show that a variable is cursor in --expandArc (#15002) | Clyybber | 2020-07-17 | 3 | -11/+11 |
| | |||||
* | cursor inference: hotfix (#14999) | Andreas Rumpf | 2020-07-16 | 1 | -8/+13 |
| | |||||
* | disable debug output | Andreas Rumpf | 2020-07-15 | 1 | -1/+1 |
| | |||||
* | An optimizer for ARC (#14962) | Andreas Rumpf | 2020-07-15 | 7 | -30/+632 |
| | | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com> | ||||
* | Fix #14990 (#14991) | Clyybber | 2020-07-15 | 1 | -2/+2 |
| | | | | | * Fix #14990 * Add testcase | ||||
* | Fix #14985 (#14988) | Clyybber | 2020-07-15 | 1 | -2/+2 |
| | |||||
* | injectdestructors fixes and refactor (#14964) | Clyybber | 2020-07-14 | 2 | -193/+110 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * injectdestructors fixes and refactor * Tiny cleanup * Refactor and expand testcase * Closes #14902 by adding testcase * Better naming * Fix test failures * Misc cleanup * Add testcase for #14968 * Better approach; expand testcases * Optimizations and fixes * Add testcase * typo * Tiny cleanup | ||||
* | fix #6608 (#14963) | flywind | 2020-07-14 | 1 | -1/+10 |
| | | | | * fix #6608 | ||||
* | fix #14912, make `--useVersion:1.0` work again (#14945) | Miran | 2020-07-10 | 1 | -0/+1 |
| | | | | | * fix #14912, make `--useVersion:1.0` work again * a better fix * add test | ||||
* | fixes a minor regression | Araq | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | fixes the tcontrolflow regression, clen idea of an escaping expression | Araq | 2020-07-10 | 1 | -20/+44 |
| | |||||
* | no wasMoved() calls after destructors necessary | Araq | 2020-07-10 | 1 | -6/+6 |
| | |||||
* | optimize sinks even when in a loop | Araq | 2020-07-10 | 1 | -23/+12 |
| | |||||
* | renderer.nim: more obvious debug output | Araq | 2020-07-10 | 1 | -1/+11 |
| |