Araq
05c273334a
fixes #10689
...
(cherry picked from commit 322ce1872f )
2019-08-13 17:09:36 +02:00
Araq
07ea817ab1
fixes #11254
...
(cherry picked from commit 289b5e9ef9 )
2019-08-13 17:09:36 +02:00
Andreas Rumpf
94cb21841e
fixes #11891
...
(cherry picked from commit 212ae2f125 )
2019-08-13 17:07:46 +02:00
narimiran
95b3d4b88d
fix backport version of export markUsed
2019-08-13 16:59:49 +02:00
Andreas Rumpf
e33ff5cb08
merged #11813 manually [bugfix]
...
(cherry picked from commit 3b8f721460 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
36c90fa8fb
removed unused imports [refactoring]
...
(cherry picked from commit 0d5bd7e8b5 )
2019-08-13 16:59:49 +02:00
Arne Döring
e7481e7a27
Lock semchecked ast for macros ( #11883 ) [bugfix]
...
* reject to modify type checked AST
* add flag to back out
* Introduce legacy feature set.
(cherry picked from commit 44e7a7b6c2 )
2019-08-13 16:59:49 +02:00
Arne Döring
1d13a764e9
delete expensive call ( #11909 ) [refactoring]
...
(cherry picked from commit 48968f3c84 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
b0d2052a3f
Incremental compilation (IC): Improvements ( #11881 )
...
* IC: C codegen is aware of IC
* manual: minor change to make VSCode's RST plugin render it properly
* IC: minor refactoring
* testament: code refactorings
* rodutils: removed dead code
* IC: always build the compiler with the IC feature
* IC: C codegen improvements
* IC: implement the undocumented -d:nimMustCache option for testing purposes
* IC: added first basic tests
* IC: extensive testing of the deserialization feature
* testament: refactoring; better IC tests
* IC: removes 'nimMustCache' flag; readonly does the same
* testament: minor refactoring
* update Nimble version
* testament: removed dead code and imports; IC: added simple test
* IC: progress
(cherry picked from commit c8cffaf420 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
a5d28e686f
fixes #11817 ( #11889 )
...
(cherry picked from commit 42e83ac24c )
2019-08-13 16:59:49 +02:00
Arne Döring
38893a34ee
fixes #9829 ( #11849 )
...
(cherry picked from commit b73d097d36 )
2019-08-13 16:59:49 +02:00
narimiran
035427186c
fix #8305 #7808 #10285 #11061 + other bugs with type mismatch error msgs
...
(cherry picked from commit a6526695f0 )
(cherry picked from commit b80d70b0f3 )
(cherry picked from commit 6375df4c53 )
(cherry picked from commit 5fce81edfd )
(cherry picked from commit 5ddea6a98f )
(cherry picked from commit 063ae96a66 )
2019-08-13 16:59:44 +02:00
Oscar Nihlgård
ccc611e06d
Allow typeof(nil) as generic parameter ( #11869 )
...
(cherry picked from commit bcfb540e57 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
64d1159054
VM exception fixes ( #11868 )
...
(cherry picked from commit 50e921bb94 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
ad623d138d
Fix VM conversion to var type [bugfix] ( #11866 )
...
(cherry picked from commit 829f719670 )
2019-08-12 11:22:26 +02:00
Andreas Rumpf
86f2d0adcc
IR: minor refactoring
...
(cherry picked from commit ceb1a1b688 )
2019-08-12 11:10:26 +02:00
Andreas Rumpf
3b8241c163
IC: some progress
...
(cherry picked from commit f58d87cb43 )
2019-08-12 11:09:42 +02:00
Andreas Rumpf
69c2341663
makes the -d:nimIncremental compiler mode compile again
...
(cherry picked from commit 25e6c53bb5 )
2019-08-12 11:08:38 +02:00
Arne Döring
08f094c487
fix #11812 ( #11829 )
...
* fixes #11812
* fixes #10899
* fixes #11367
(cherry picked from commit 1a77040278 )
2019-08-12 11:07:48 +02:00
cooldome
28664cf7b8
fixes #11792 ( #11793 )
...
(cherry picked from commit d563efb719 )
2019-08-12 10:50:36 +02:00
Araq
043702776b
fixes #11745
...
(cherry picked from commit 67a6effb7b )
2019-08-12 10:50:04 +02:00
Araq
b0ad20404a
installer: ship nimpretty.exe on Windows
...
(cherry picked from commit de69e1856f )
2019-08-12 10:13:35 +02:00
narimiran
864f1094ef
Revert "[refactoring] don't use 'defer'"
...
This reverts commit 1bc3f44f1a .
2019-07-22 11:35:45 +02:00
Araq
4b0de0ca6f
nimpretty: fixes #11616
...
(cherry picked from commit 6d8913ee14 )
2019-07-19 16:47:36 +02:00
Araq
ace3b341a3
nimpretty: fixes #11699
...
(cherry picked from commit 7deb49e992 )
2019-07-19 16:47:36 +02:00
Araq
ce7a0e3ffb
[refactoring] nimpretty
...
(cherry picked from commit 5b7273b4f8 )
2019-07-19 16:47:28 +02:00
Araq
ddc02649a6
[refactoring] remove unused imports in the compiler and in some stdlib modules
...
(cherry picked from commit 07d465ca42 )
2019-07-19 16:46:51 +02:00
Andreas Rumpf
1bc3f44f1a
[refactoring] don't use 'defer'
...
(cherry picked from commit 210988c532 )
2019-07-19 16:44:31 +02:00
Andreas Rumpf
6abbef3eb9
fixes a critical 'nim secret' regression
...
(cherry picked from commit 43940294c5 )
2019-07-19 16:25:39 +02:00
narimiran
9b0cb52d74
styleCheck fix
2019-07-16 10:17:00 +02:00
Araq
073651237a
newruntime: progress to make 'async' work with --newruntime
...
(cherry picked from commit edbe02b4e1 )
2019-07-15 16:18:17 +02:00
Andreas Rumpf
f23ca7f539
makes devel green again
...
(cherry picked from commit df53c68a36 )
2019-07-15 16:18:17 +02:00
Araq
2bf1985f1a
'nim check' stability improvements
...
(cherry picked from commit 58e0dad371 )
2019-07-15 16:18:17 +02:00
Araq
abebc395d3
makes --styleCheck:error the default for the Nim compiler itself
...
(cherry picked from commit e06046ab51 )
2019-07-15 16:18:17 +02:00
Araq
575f688545
make 'koch temp' work again
...
(cherry picked from commit 44c12d9d20 )
2019-07-15 16:18:17 +02:00
Araq
95fd0d0a6f
[refactoring] moves transformation for 'spawn' into its own spawn.nim implementation
...
(cherry picked from commit 9db369063c )
2019-07-15 16:18:17 +02:00
Jacek Sieka
d5d661b70e
times: use posix constant instead of import ( #11692 )
...
* times: use posix constant instead of import
* simplify clock id usage
(cherry picked from commit cf36e4a44a )
2019-07-15 16:18:17 +02:00
Andreas Rumpf
46cb304770
fixes #11715 ( #11721 )
...
(cherry picked from commit de1ede77fe )
2019-07-15 16:18:17 +02:00
Araq
abd4330dd0
newruntime: refchecks:on|off switch
...
(cherry picked from commit 423e8cca91 )
2019-07-15 08:06:47 +02:00
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