Araq
6ffe82a5aa
there is only one style -- my style
...
(cherry picked from commit 87a2ced1ba )
2019-07-15 08:02:24 +02:00
Araq
2b4a7ff6f6
fixes linter regressions
...
(cherry picked from commit 73cc029fec )
2019-07-15 07:59:14 +02:00
Araq
19225b71ab
fixes #10901
...
(cherry picked from commit 78174857f8 )
2019-07-15 07:59:14 +02:00
Araq
e5e2b067f4
fixes #11683
...
(cherry picked from commit b03421d087 )
2019-07-15 07:59:14 +02:00
Araq
607ce16acf
fixes #11691
...
(cherry picked from commit 6663dbbe57 )
2019-07-15 07:59:14 +02:00
Araq
694d57c899
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
...
(cherry picked from commit c94647aeca )
2019-07-15 07:58:45 +02:00
Araq
ed627cff3a
linter: refactorings
...
(cherry picked from commit 18182e4bfd )
2019-07-15 07:58:27 +02:00
Araq
b5ab4dabe2
nim styleChecker: implemented all the missing features (bugfix)
...
(cherry picked from commit bd689849f2 )
2019-07-15 07:58:27 +02:00
Araq
ab98141c75
newruntime: async progress
...
(cherry picked from commit 55e8aefbea )
2019-07-15 07:58:27 +02:00
Araq
14c6e3a6ab
control flow graph: don't ignore yield statements
...
(cherry picked from commit 73c570d1d9 )
2019-07-15 07:58:27 +02:00
Araq
ce9eaee303
newruntime: 'owned distinct' is a valid construct (required by async)
...
(cherry picked from commit a85e20c125 )
2019-07-15 07:58:26 +02:00
narimiran
da2a149522
nimpretty: more comment indentation fixes
...
(cherry picked from commit 96d49608c0 )
2019-07-15 07:58:26 +02:00
Araq
8afe92a1ab
nimpretty: more improvements
...
(cherry picked from commit eefcea8892 )
2019-07-15 07:58:26 +02:00
Araq
2a0c9dc063
nimpretty: code cleanups
...
(cherry picked from commit fc34193483 )
2019-07-15 07:58:26 +02:00
Araq
e0b4d034bc
nimpretty: yet another improvement
...
(cherry picked from commit 0193c8ad2e )
2019-07-15 07:58:26 +02:00
Araq
e0991c4bcf
bugfix: allow type conversions between 'owned ref' types
...
(cherry picked from commit f64179e7fe )
2019-07-15 07:58:26 +02:00
Araq
40c2f504fb
better error message for invalid types
...
(cherry picked from commit 7c62de0cb7 )
2019-07-15 07:58:26 +02:00
Arne Döring
80e51bb407
Offsetof fixes ( #11690 )
...
* first fixes
* more tests and fixes
* code normalization
(cherry picked from commit 11dad688fe )
2019-07-15 07:58:26 +02:00
Miran
585a08548a
nimpretty: don't introduce extra spaces after a colon or a comma ( #11672 )
...
(cherry picked from commit d0616ed115 )
2019-07-08 11:33:20 +02:00
Araq
f77bc2522f
fixes #11350
...
(cherry picked from commit 085a21ebf4 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
5cc49aad44
fixes #11660 ( #11677 )
...
(cherry picked from commit bab1f67971 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
615be176e6
fixes #11671
...
(cherry picked from commit 3258c1e2a3 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
5dfec61597
improved the error message for #11494 ; closes #11494
...
(cherry picked from commit 465815e894 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
753f8a05d2
fixes #3333
...
(cherry picked from commit cab0c3e544 )
2019-07-08 11:33:19 +02:00
Andreas Rumpf
00ccdec238
fixes #8316 ( #11673 )
...
(cherry picked from commit 64e1408920 )
2019-07-08 11:33:00 +02:00
Andreas Rumpf
49de021b1a
fixes #7057
...
(cherry picked from commit 2678fa679a )
2019-07-08 11:28:42 +02:00
Miran
a31b3ef3cf
nimpretty: improved detection of commas and semicolons ( #11661 )
...
* nimpretty: improved detection of commas and semicolons
* address the comments
(cherry picked from commit 34c09a98c7 )
2019-07-08 11:28:42 +02:00
Arne Döring
8501971a60
introduce internal Int128 type, use it to fix case stmt checks ( #11652 )
...
* initial version of int128
* use int128 in case stmt
* fixes #11552
(cherry picked from commit 7d5d9f7703 )
2019-07-08 11:28:42 +02:00
Miran
5863461d47
nimpretty: don't touch formatted multiline comments ( #11663 )
...
(cherry picked from commit 176eaf5c90 )
2019-07-08 11:28:42 +02:00
cooldome
cb3a920097
Fixes #11662 : render ops priority ( #11664 )
...
(cherry picked from commit d1f6c820dd )
2019-07-08 11:28:42 +02:00
narimiran
88896194bd
nimpretty: nicer debugging [ci skip]
...
(cherry picked from commit 2c0c0e772c )
2019-07-08 11:28:42 +02:00
Miran
5689003410
nimpretty: relax line length rules when dealing with (inline) comments ( #11657 )
...
(cherry picked from commit 96a19ea1b4 )
2019-07-08 11:28:42 +02:00
Timothee Cour
789c8e0065
fix #11651 exportc symbol not exported, leading to link error ( #11658 )
...
(cherry picked from commit 95f2f2396f )
2019-07-08 11:28:41 +02:00
Andreas Rumpf
e74e85a41e
fixes #11610 ( #11659 )
...
(cherry picked from commit 28c9c062a4 )
2019-07-08 11:28:41 +02:00
Andreas Rumpf
3e8c4519d4
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
(cherry picked from commit 5f515410af )
2019-07-08 11:28:41 +02:00
narimiran
66660eca32
nimpretty: fix out of bounds error [ci skip]
...
(cherry picked from commit 4450fca6fd )
2019-07-08 11:27:15 +02:00
Araq
d13c75eb2f
nimpretty: nimpretty now understands splitting newlines
...
(cherry picked from commit a59f0adc50 )
2019-07-08 11:27:15 +02:00
Araq
f70a0c90f1
nimpretty: distinguish between the different kinds of newlines in Nim
...
(cherry picked from commit 7d29f8b1a4 )
2019-07-08 11:27:15 +02:00
Timothee Cour
6a23772e23
fixes #8405 : -d:useNimRtl now works even when {.rtl.} procs are used at compile time; CTFFI now works with {dynlib} ( #11635 )
...
(cherry picked from commit 64168d4aea )
2019-07-08 11:27:15 +02:00
Miran
da3a7b852d
[bugfix] fix wrong nimpretty unidents, refs #11616 ( #11645 )
...
(cherry picked from commit 0718d6c2cd )
2019-07-08 11:27:15 +02:00
Andreas Rumpf
7ab44997aa
fixes #11585
...
(cherry picked from commit 045eeab6b4 )
2019-07-08 11:27:15 +02:00
Miran
20f6acc0da
[bugfix] fix #11484 , acknowledge 'danger' flag ( #11486 )
...
(cherry picked from commit 1e9316e23c )
2019-07-08 11:27:15 +02:00
Araq
b0e86d0f05
fixes #11510
...
(cherry picked from commit c0db1705dc )
2019-07-08 11:27:15 +02:00
Araq
6a6a9423e4
fixes #11636
...
(cherry picked from commit 476b4ff372 )
2019-07-08 11:27:15 +02:00
Arne Döring
191b7e0bde
[backport] fix #11320 ( #11538 )
...
* [backport] fix #11320
* fix test for 32 bit test
(cherry picked from commit 20d0ef8afb )
2019-07-08 11:26:20 +02:00
Andreas Rumpf
d1de6b9fe4
fixes #11479 ( #11641 )
...
(cherry picked from commit 71b7383f12 )
2019-07-08 11:26:20 +02:00
Miran
466d5ba060
[bugfix] nimpretty indents multiline comments correctly ( #11607 )
...
(cherry picked from commit c522a455df )
2019-07-02 13:57:12 +02:00
Andreas Rumpf
7938947907
fixes #11633
...
(cherry picked from commit cce8a739da )
2019-07-02 13:57:12 +02:00
Andreas Rumpf
476b3b1c13
fixes #11515 ( #11624 )
...
* fixes #11515
* better fix for #11515 ; make tests green
(cherry picked from commit 766960dc15 )
2019-07-02 13:57:12 +02:00
Araq
e6c963259c
fixes #11617
...
(cherry picked from commit bd55c862a6 )
2019-07-02 13:56:55 +02:00