Miran
561b01004c
[backport] change some examples in tut1.rst ( #18884 )
...
* [backport] change some examples in tut1.rst
* Update doc/tut1.rst
* Update doc/tut1.rst
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-09-24 11:24:55 +02:00
Andreas Rumpf
90a2b5afd8
correct effect tracking for .borrowed procs [backport] ( #18882 )
...
* correct effect tracking for .borrowed procs [backport]
* progress
* fix error message in a test
* correctly fix it
Co-authored-by: narimiran <narimiran@disroot.org >
2021-09-23 16:47:24 +02:00
Miran
7d2a4c0880
update csources hash ( #18885 )
2021-09-23 11:00:36 +02:00
Andreas Rumpf
6163bdd279
closes #16132 [backport] ( #18880 )
...
* closes #16132 [backport]
* fixes #16132 [backport]
2021-09-22 15:07:36 +02:00
Andreas Rumpf
0ad601d3c1
fixes #18856 [backport] ( #18879 )
2021-09-22 09:43:06 +02:00
Andreas Rumpf
928ea6bb4c
atlas: added --cfgHere switch [backport] ( #18873 )
2021-09-20 13:32:33 +02:00
Miran
3d7c52f3cd
[backport] Revert "use new Nimble, with lockfiles ( #18810 )" ( #18872 )
...
This reverts commit f373c17ad9 .
For more details, see:
- https://github.com/nim-lang/nimble/issues/940
- https://github.com/nim-lang/Nim/issues/18840
- https://forum.nim-lang.org/t/8404
2021-09-20 13:24:44 +02:00
Andreas Rumpf
14ced06bb1
fixes #18863 [backport] ( #18871 )
2021-09-20 11:37:54 +02:00
flywind
ee9795f76f
fix #18844 ( #18851 )
2021-09-20 09:50:20 +02:00
Andreas Rumpf
c56ba3f06a
fixes #18847 [backport] ( #18870 )
2021-09-20 09:09:53 +02:00
Andreas Rumpf
3241df2a13
fixes #18858 [backport] ( #18868 )
...
* fixes #18858 [backport]
* ensure async tests work with --experimental:strictEffects [backport]
* ensure async tests work with --experimental:strictEffects [backport]
2021-09-19 23:35:50 +02:00
Andreas Rumpf
ca51bb8fd9
documented overload disambiguation [backport] ( #18865 )
...
* documented overload disambiguation [backport]
* Update doc/manual.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
* documented overload disambiguation [backport]
* documented overload disambiguation [backport]
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
2021-09-19 18:31:55 +02:00
alaviss
6cd219c3a3
semtypinst: don't wrap type nodes from expressions in static[T] ( #18860 )
2021-09-17 06:51:26 +02:00
Jason Beetham
f8e185fec0
Fixed borrowing dot from aliases ( #18854 )
2021-09-16 08:48:58 +02:00
flywind
cebf7cdc1e
fix #10128 ( #18852 )
2021-09-14 19:40:42 +02:00
flywind
bf1700bab1
add testcase for #7308 ( #18849 )
2021-09-14 19:39:55 +02:00
Jason Beetham
172253cb55
Dotborrow now works with generic distincts ( #18848 )
2021-09-14 19:34:52 +02:00
Christian Ulrich
ef390e6a68
add changelog entry for #18656 ( #18839 ) [backport]
2021-09-13 18:47:33 +02:00
Andreas Rumpf
179fad934d
doc improvements ( #18843 )
...
* cleaned up destructors documentation [backport]
* Spec updates [backport:1.0]
2021-09-13 11:05:09 +02:00
Jason Beetham
3f3e0fa303
Fixed #18838 ( #18841 ) [backport]
2021-09-13 09:35:19 +02:00
Jason Beetham
5d1608c976
Generic pointer procs now error if no types supplied ( #18832 )
...
* more precise logic for pointer procs
* added test for generic pointer procs
* Fixed generic getting bracket expr if erroring
2021-09-11 22:20:22 +02:00
Jason Beetham
66e53bdd7b
Fixed type inference for 'set` and 'tuple' ( #18827 )
...
* improved built in typeclass inference
* Smarter logic to fit node
* Forgot the untyped check
2021-09-11 13:05:53 +02:00
flywind
1f68f71ec2
[minor] fix docs ( #18834 )
2021-09-11 11:33:52 +02:00
flywind
6c2f041368
fix code-block which causes missing docs
2021-09-11 09:25:48 +08:00
Juan Carlos
0ef830577b
distros.foreignDeps made public ( #18830 )
...
* 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
2021-09-10 10:20:32 +02:00
Federico Ceratto
a896f9f19e
Clarify unknown processor error ( #18829 )
2021-09-09 13:57:21 +02:00
flywind
23e10ea85e
active some packages ( #18825 )
2021-09-09 08:46:55 +02:00
flywind
c56008450a
fix CI failure(upstream changes) ( #18820 )
...
* 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 >
2021-09-08 11:47:14 +02:00
Jason Beetham
ee2eb5cae2
Fix subranges of distinct types ( #18816 ) [backport]
2021-09-07 17:11:08 +02:00
Jason Beetham
30d28bcefc
Fixes implicit and explicit generics in procedures ( #18808 )
...
* 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 >
2021-09-06 20:11:21 +02:00
Andreas Rumpf
34a53e8049
fixes #12642 ( #18811 )
...
* 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 >
2021-09-06 17:43:03 +02:00
Jason Beetham
90bfd34250
'[]' can now be used for iterators ( #18814 )
2021-09-06 15:30:49 +02:00
Andreas Rumpf
cc5422ae50
Atlas: added 'extract' command, as promised ( #18813 )
2021-09-06 13:19:11 +02:00
Andreas Rumpf
73841ae194
fixes #14165 , fixes #18739 , fix the second example of #6269 ( #18812 )
2021-09-06 13:12:14 +02:00
Jason Beetham
7ae52d7791
Fix recursive generic typed defs ( #18809 )
2021-09-06 09:43:26 +02:00
Miran
f373c17ad9
use new Nimble, with lockfiles ( #18810 )
2021-09-06 09:40:31 +02:00
flywind
4320b158dd
add weave to important packages ( #17665 )
...
* add weave to important packages
* Update testament/important_packages.nim
2021-09-05 16:50:54 +08:00
Andreas Rumpf
2e2d928846
formal grammar updates [backport:1.2] ( #18803 )
2021-09-04 19:52:57 +02:00
Andreas Rumpf
5c85e480a6
unicode operator bugfixes ( #18802 )
2021-09-04 17:49:27 +02:00
Andreas Rumpf
e8dad482a3
fixes #16246 ( #18800 )
2021-09-04 15:57:16 +02:00
flywind
b3ad68edea
remove channels ( #18801 )
...
* remove channels
* test
2021-09-04 15:57:02 +02:00
Sven Keller
3c2edd142b
fix for js strict mode ( #18799 )
...
* 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 >
2021-09-04 12:53:02 +02:00
Andreas Rumpf
686096a912
documented overloadable enums and changelog improvements ( #18797 )
2021-09-04 12:52:24 +02:00
Andreas Rumpf
ac7acd827c
we need something better than warningAsError for effect handling viol… ( #18796 )
...
* we need something better than warningAsError for effect handling violations
2021-09-04 08:18:00 +02:00
Andreas Rumpf
cddf8ec6f6
implements https://github.com/nim-lang/RFCs/issues/407 ( #18793 )
2021-09-03 21:52:24 +02:00
Andreas Rumpf
c2b20516d3
implemented Unicode operators ( #18789 )
...
* 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 >
2021-09-03 17:31:16 +02:00
flywind
905fae51f6
remove unnecessary if statement ( #18792 )
2021-09-03 16:41:00 +02:00
Andreas Rumpf
06ff0e9624
fixes #18769 ( #18790 )
2021-09-03 15:18:55 +02:00
Jacek Sieka
0635697a89
Document -d:async_backend flag ( #18700 )
...
* 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 >
2021-09-03 14:20:57 +02:00
Andreas Rumpf
0887dcc398
fixes #18786 ( #18788 )
2021-09-03 09:03:26 +02:00