Andreas Rumpf
ae04734031
fixes tcompiletimerange [bugfix] ( #11720 )
...
(cherry picked from commit 2895ad70c8 )
2019-07-15 08:06:47 +02:00
Araq
d91b4b1bb7
[bugfix] VM: finally do inheritance properly
...
(cherry picked from commit 7606efc0bf )
2019-07-15 08:06:46 +02:00
Araq
8eb66f6c6b
nimpretty: implement a --maxLineLen command line option
...
(cherry picked from commit 5bf3734984 )
2019-07-15 08:03:53 +02:00
Araq
6f214131a2
JS codegen: supports toOpenArray [bugfix]
...
(cherry picked from commit eaf4b42ff9 )
2019-07-15 08:03:53 +02:00
Miran
622eadff52
nimpretty: fix #11700 , no extra newlines ( #11714 )
...
(cherry picked from commit 2f0a50fa51 )
2019-07-15 08:03:53 +02:00
Araq
e34a318b9f
minor style changes
...
(cherry picked from commit cb3c3c306c )
2019-07-15 08:03:16 +02:00
Araq
641d1e1175
minor style changes
...
(cherry picked from commit 38bdf1cd7f )
2019-07-15 08:03:16 +02:00
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