Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fixes #18921 [backport] (#18930) | Andreas Rumpf | 2021-09-30 | 1 | -9/+11 | |
| | ||||||
* | [backport] use old style hints in .cfg files (#18917) | Miran | 2021-09-29 | 2 | -3/+3 | |
| | | | refs #18085 | |||||
* | envPairs works in vm, nims (#18615) | Timothee Cour | 2021-09-29 | 1 | -3/+11 | |
| | | | | | * envPairs works in vm, nims * fixup | |||||
* | test ord (#18909) | flywind | 2021-09-28 | 1 | -4/+0 | |
| | ||||||
* | fix a typo (canonilization => canonicalization) (#18914) | flywind | 2021-09-28 | 1 | -1/+1 | |
| | ||||||
* | fixes 'lent T' inside object constructor [backport] (#18911) | Andreas Rumpf | 2021-09-27 | 3 | -3/+4 | |
| | | | | | * fixes 'lent T' inside object constructor [backport] * progress | |||||
* | this ensures libp2p continues to compile [backport] (#18908) | Andreas Rumpf | 2021-09-27 | 2 | -5/+16 | |
| | ||||||
* | fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) ↵ | flywind | 2021-09-25 | 4 | -6/+6 | |
| | | | | | | | (#18895) * fix wrong module name * rephrase more word | |||||
* | closes #18690; make view types stricter [backport] (#18891) | Andreas Rumpf | 2021-09-24 | 1 | -4/+2 | |
| | | | | | * closes #18690 * don't allow capturing of view types [backport] | |||||
* | [backport] arc: improve compile time of (nested) loops (#18890) | Clyybber | 2021-09-24 | 1 | -3/+8 | |
| | ||||||
* | ported Nim to proprietary CrossOS [backport] (#18889) | Andreas Rumpf | 2021-09-24 | 3 | -3/+10 | |
| | ||||||
* | correct effect tracking for .borrowed procs [backport] (#18882) | Andreas Rumpf | 2021-09-23 | 6 | -10/+18 | |
| | | | | | | | | | | | * correct effect tracking for .borrowed procs [backport] * progress * fix error message in a test * correctly fix it Co-authored-by: narimiran <narimiran@disroot.org> | |||||
* | closes #16132 [backport] (#18880) | Andreas Rumpf | 2021-09-22 | 1 | -5/+8 | |
| | | | | | * closes #16132 [backport] * fixes #16132 [backport] | |||||
* | fixes #18856 [backport] (#18879) | Andreas Rumpf | 2021-09-22 | 1 | -1/+1 | |
| | ||||||
* | fixes #18863 [backport] (#18871) | Andreas Rumpf | 2021-09-20 | 2 | -4/+5 | |
| | ||||||
* | fixes #18847 [backport] (#18870) | Andreas Rumpf | 2021-09-20 | 1 | -2/+3 | |
| | ||||||
* | semtypinst: don't wrap type nodes from expressions in static[T] (#18860) | alaviss | 2021-09-17 | 1 | -1/+1 | |
| | ||||||
* | Fixed borrowing dot from aliases (#18854) | Jason Beetham | 2021-09-16 | 1 | -2/+2 | |
| | ||||||
* | fix #10128 (#18852) | flywind | 2021-09-14 | 1 | -3/+3 | |
| | ||||||
* | Dotborrow now works with generic distincts (#18848) | Jason Beetham | 2021-09-14 | 2 | -3/+4 | |
| | ||||||
* | Fixed #18838 (#18841) [backport] | Jason Beetham | 2021-09-13 | 1 | -1/+5 | |
| | ||||||
* | Generic pointer procs now error if no types supplied (#18832) | Jason Beetham | 2021-09-11 | 2 | -2/+2 | |
| | | | | | | | * more precise logic for pointer procs * added test for generic pointer procs * Fixed generic getting bracket expr if erroring | |||||
* | Fixed type inference for 'set` and 'tuple' (#18827) | Jason Beetham | 2021-09-11 | 1 | -1/+2 | |
| | | | | | | | * improved built in typeclass inference * Smarter logic to fit node * Forgot the untyped check | |||||
* | Fix subranges of distinct types (#18816) [backport] | Jason Beetham | 2021-09-07 | 1 | -1/+1 | |
| | ||||||
* | Fixes implicit and explicit generics in procedures (#18808) | Jason Beetham | 2021-09-06 | 1 | -5/+23 | |
| | | | | | | | | | | | * Fixes implicit and explicit generics * moved block logic into 'maybeInstantiateGeneric' * Added more tests * Update compiler/semexprs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | |||||
* | fixes #12642 (#18811) | Andreas Rumpf | 2021-09-06 | 3 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | * fixes #12642 * update important packages; refs #18804 * fixes #18805; refs #18806 * fixes a regression * Update testament/categories.nim Co-authored-by: flywind <xzsflywind@gmail.com> * progress * progress Co-authored-by: flywind <xzsflywind@gmail.com> | |||||
* | '[]' can now be used for iterators (#18814) | Jason Beetham | 2021-09-06 | 1 | -1/+1 | |
| | ||||||
* | fixes #14165, fixes #18739, fix the second example of #6269 (#18812) | Andreas Rumpf | 2021-09-06 | 1 | -4/+7 | |
| | ||||||
* | Fix recursive generic typed defs (#18809) | Jason Beetham | 2021-09-06 | 1 | -1/+1 | |
| | ||||||
* | formal grammar updates [backport:1.2] (#18803) | Andreas Rumpf | 2021-09-04 | 1 | -27/+23 | |
| | ||||||
* | unicode operator bugfixes (#18802) | Andreas Rumpf | 2021-09-04 | 1 | -46/+60 | |
| | ||||||
* | fixes #16246 (#18800) | Andreas Rumpf | 2021-09-04 | 3 | -2/+11 | |
| | ||||||
* | fix for js strict mode (#18799) | Sven Keller | 2021-09-04 | 1 | -1/+1 | |
| | | | | | | | | * Assignments, which would accidentally create global variables, instead throw an error in strict mode * Assignment to a getter-only property Co-authored-by: Sven Keller <s.keller@cortona.de> | |||||
* | we need something better than warningAsError for effect handling viol… ↵ | Andreas Rumpf | 2021-09-04 | 1 | -2/+2 | |
| | | | | | | (#18796) * we need something better than warningAsError for effect handling violations | |||||
* | implements https://github.com/nim-lang/RFCs/issues/407 (#18793) | Andreas Rumpf | 2021-09-03 | 7 | -20/+59 | |
| | ||||||
* | implemented Unicode operators (#18789) | Andreas Rumpf | 2021-09-03 | 2 | -7/+76 | |
| | | | | | | | | | | | | | | | * implemented Unicode operators; refs https://github.com/nim-lang/RFCs/issues/388 * bugfix * better test * arguably more elegant implementation * Update changelog.md Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> | |||||
* | remove unnecessary if statement (#18792) | flywind | 2021-09-03 | 1 | -6/+6 | |
| | ||||||
* | fixes #18769 (#18790) | Andreas Rumpf | 2021-09-03 | 1 | -1/+7 | |
| | ||||||
* | fixes #18786 (#18788) | Andreas Rumpf | 2021-09-03 | 1 | -6/+5 | |
| | ||||||
* | fixes #16325 [backport:1.4] (#18784) | Andreas Rumpf | 2021-09-02 | 1 | -2/+1 | |
| | ||||||
* | strict effects (#18777) | Andreas Rumpf | 2021-09-02 | 16 | -54/+164 | |
| | | | | | | | | | | | | | | | | | * fixes #17369 * megatest is green for --cpu:arm64 * docgen output includes more tags/raises * implemented 'effectsOf' * algorithm.nim: uses new effectsOf annotation * closes #18376 * closes #17475 * closes #13905 * allow effectsOf: [a, b] * added a test case * parameters that are not ours cannot be declared as .effectsOf * documentation * manual: added the 'sort' example * bootstrap with the new better options | |||||
* | fix #9778 (pairs iterator calling a helper proc with tuple return type will ↵ | flywind | 2021-09-02 | 1 | -11/+44 | |
| | | | | | | | | | | | cut the iterator yield into half) (#18767) * test someSymFromImportTable * Update compiler/lookups.nim * test nkTupleConstr * use isConstExpr * add tests * add comments and todo * use todo | |||||
* | [minor]break loops after a candidate is added to seqs (#18770) | flywind | 2021-08-31 | 1 | -7/+9 | |
| | | | | | | | | | * [minor]break loops when added * Update compiler/lookups.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com> | |||||
* | move PNode.comment to a side channel, reducing memory usage during ↵ | Timothee Cour | 2021-08-29 | 3 | -27/+67 | |
| | | | | | | | | | | | | | | | | | compilation by a factor 1.25x (#18760) * move PNode.comment so a side channel, reducing memory usage * fix a bug * fixup * use sfHasComment to speedup comment lookups * fix for IC * Update compiler/parser.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | |||||
* | followup #18759: make compiler build cleanly with 0 warnings/hints (#18764) | Timothee Cour | 2021-08-28 | 2 | -4/+4 | |
| | ||||||
* | more minor bootstrapping cleanups (#18759) | Miran | 2021-08-28 | 3 | -5/+0 | |
| | ||||||
* | [minor] break loops if it is ambiguous (#18745) | flywind | 2021-08-27 | 1 | -6/+7 | |
| | | | | | | | | | * [minor] break loops if it is ambiguous * Update compiler/lookups.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> | |||||
* | fix RFC #341: dot-like operators are now parsed with same precedence as `.` ↵ | Timothee Cour | 2021-08-25 | 2 | -5/+31 | |
| | | | | | | | | | | | | | | | | | | | | | (#18711) * fix RFC #341: dot-like operators are now parsed with same precedence as `.` * fixup * [skip ci] address comment in changelog * address comment * update grammmar * add manual entry * fixup * -d:nimPreviewDotLikeOps * address comment to unblock PR: move nimPreviewDotLikeOps out of config/config.nims | |||||
* | [minor]use `addInt` and `addFloat` (#18733) | flywind | 2021-08-24 | 1 | -2/+2 | |
| | | | | | | | * unify int and uint * back * minor | |||||
* | get rid of the warnings during bootstrapping (#18741) | Miran | 2021-08-24 | 4 | -5/+5 | |
| | | | | | * fix bootstrapping hints and warnings * revert removals in ccgtypes |