summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #18838 (#18841) [backport]Jason Beetham2021-09-132-2/+40
|
* Generic pointer procs now error if no types supplied (#18832)Jason Beetham2021-09-113-2/+30
| | | | | | | * 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 Beetham2021-09-112-1/+24
| | | | | | | * improved built in typeclass inference * Smarter logic to fit node * Forgot the untyped check
* [minor] fix docs (#18834)flywind2021-09-111-6/+4
|
* fix code-block which causes missing docsflywind2021-09-111-2/+2
|
* distros.foreignDeps made public (#18830)Juan Carlos2021-09-102-4/+5
| | | | | | | | | * Deprecate distros.echoForeignDeps * Deprecate distros.echoForeignDeps * https://github.com/nim-lang/Nim/pull/18830#discussion_r705364162 * https://github.com/nim-lang/Nim/pull/18830#discussion_r705364162
* Clarify unknown processor error (#18829)Federico Ceratto2021-09-091-1/+1
|
* active some packages (#18825)flywind2021-09-091-4/+4
|
* fix CI failure(upstream changes) (#18820)flywind2021-09-081-1/+1
| | | | | | | | | * fix upstream changes * Update tests/js/tunittest_error2.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fix subranges of distinct types (#18816) [backport]Jason Beetham2021-09-072-1/+15
|
* Fixes implicit and explicit generics in procedures (#18808)Jason Beetham2021-09-062-5/+68
| | | | | | | | | | | * 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 Rumpf2021-09-066-7/+36
| | | | | | | | | | | | | | | | | | | * 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 Beetham2021-09-062-1/+15
|
* Atlas: added 'extract' command, as promised (#18813)Andreas Rumpf2021-09-061-1/+9
|
* fixes #14165, fixes #18739, fix the second example of #6269 (#18812)Andreas Rumpf2021-09-062-4/+57
|
* Fix recursive generic typed defs (#18809)Jason Beetham2021-09-062-1/+13
|
* use new Nimble, with lockfiles (#18810)Miran2021-09-061-1/+1
|
* add weave to important packages (#17665)flywind2021-09-051-0/+1
| | | | | * add weave to important packages * Update testament/important_packages.nim
* formal grammar updates [backport:1.2] (#18803)Andreas Rumpf2021-09-043-48/+40
|
* unicode operator bugfixes (#18802)Andreas Rumpf2021-09-042-47/+63
|
* fixes #16246 (#18800)Andreas Rumpf2021-09-044-2/+22
|
* remove channels (#18801)flywind2021-09-046-923/+1
| | | | | * remove channels * test
* fix for js strict mode (#18799)Sven Keller2021-09-042-5/+2
| | | | | | | | * 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>
* documented overloadable enums and changelog improvements (#18797)Andreas Rumpf2021-09-042-22/+70
|
* we need something better than warningAsError for effect handling viol… ↵Andreas Rumpf2021-09-043-5/+4
| | | | | | (#18796) * we need something better than warningAsError for effect handling violations
* implements https://github.com/nim-lang/RFCs/issues/407 (#18793)Andreas Rumpf2021-09-039-20/+103
|
* implemented Unicode operators (#18789)Andreas Rumpf2021-09-036-7/+117
| | | | | | | | | | | | | | | * 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)flywind2021-09-031-6/+6
|
* fixes #18769 (#18790)Andreas Rumpf2021-09-032-2/+17
|
* Document `-d:async_backend` flag (#18700)Jacek Sieka2021-09-031-0/+28
| | | | | | | | | | | | | | | | | | | | * Document `-d:asyncBackend` flag Since libraries may want to support multiple async backends, it's useful to standardize the way this is done, so as to simplify usage of any async backend within the ecosystem. A similar text is being added to chronos here: https://github.com/status-im/nim-chronos/pull/216 See also https://github.com/status-im/nim-chronos/issues/207 * typos, add none * Update lib/pure/asyncdispatch.nim * Update lib/pure/asyncdispatch.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes #18786 (#18788)Andreas Rumpf2021-09-031-6/+5
|
* testament --megatest:off now makes tests non-joinable so that they all run ↵Timothee Cour2021-09-032-2/+2
| | | | (#18787)
* fixes #18494 (#18783)Andreas Rumpf2021-09-021-8/+34
|
* fixes #16325 [backport:1.4] (#18784)Andreas Rumpf2021-09-022-2/+21
|
* sequtils now support strict effect tracking (#18782)Andreas Rumpf2021-09-022-9/+19
|
* Fix initrand to avoid random number sequences overlapping (#18744)Tomohiro2021-09-024-20/+95
| | | | | | | | | | | | | | | | | | | | | | | * Fix initrand to avoid random number sequences overlapping * Minor fix * Fix compile error on js backend * Disable new test for js backend * Minor fix * tempfiles module uses random.initRand() * Remove unused module import from lib/std/tempfiles.nim * Initialize baseState in initRand() * Run tests/stdlib/trandom.nim from tests/test_nimscript.nims * baseState is initialized only with sysrand.urandom and quit if failed * Add comments
* strict effects (#18777)Andreas Rumpf2021-09-0235-203/+482
| | | | | | | | | | | | | | | | | * 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 ↵flywind2021-09-022-11/+300
| | | | | | | | | | | 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
* add Apple Silicon to supporting platforms (#18772)flywind2021-08-311-1/+1
| | | | | | | | | * add Apple Silicon to supporting platforms * Update readme.md Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* [minor]break loops after a candidate is added to seqs (#18770)flywind2021-08-311-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>
* Fix #15150 (#18730)konsumlamm2021-08-311-1/+2
|
* move PNode.comment to a side channel, reducing memory usage during ↵Timothee Cour2021-08-293-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>
* Remove `Covariance` section from the experimental manual (#18688)konsumlamm2021-08-291-101/+63
| | | | | | | * Remove `Covariance` section * Add blank lines after `.. code-block::` * Fix CI?
* add missing docs (#18758)flywind2021-08-291-0/+1
|
* followup #18759: make compiler build cleanly with 0 warnings/hints (#18764)Timothee Cour2021-08-282-4/+4
|
* more minor bootstrapping cleanups (#18759)Miran2021-08-283-5/+0
|
* [minor] break loops if it is ambiguous (#18745)flywind2021-08-271-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>
* Implement RFC-413 (#18749)Juan Carlos2021-08-264-5/+8
| | | | | | | | | | | | | | | | | | | | | | * Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * https://github.com/nim-lang/Nim/pull/18749#discussion_r696320995 * Update lib/js/dom_extensions.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update lib/js/dom_extensions.nim * https://github.com/nim-lang/Nim/pull/18749#discussion_r696913310 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* followup #18711 grammar_nanny now reports unused non-terminals (#18746)Timothee Cour2021-08-261-1/+5
| | | | | | | * followup #18711 cleanup unused grammar rules * make tools/grammar_nanny.nim report unused terminals * revert removal of some grammar comments
* fixes #14511 [backport:1.4] (#18732)Dankr4d2021-08-252-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | | * fixes #14511 [backport:1.4] Signed-off-by: Dankr4d <dude569@freenet.de> * Replaced fix with code from alaviss, for better readability, with small changes. Signed-off-by: Dankr4d <dude569@freenet.de> * - Specified output in test. Signed-off-by: Dankr4d <dude569@freenet.de> * Replaced case in nnkRecCase with a simpler version, which just adds the last son. Signed-off-by: Dankr4d <dude569@freenet.de> * Update tests/macros/t14511.nim * Update tests/macros/t14511.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>