Andreas Rumpf
961d8bdf2f
nimpretty: fixes #9506
...
(cherry picked from commit 03005fde99 )
2018-11-01 18:00:03 +01:00
Araq
c53046223f
nimpretty: fixes #9500
...
(cherry picked from commit 87d60b2a4b )
2018-11-01 17:58:44 +01:00
Araq
6977a743f3
nimpretty: fixes #9504
...
(cherry picked from commit 0afca3dd6b )
2018-11-01 17:58:33 +01:00
Andreas Rumpf
6844d679fc
nimpretty: fixes #9499
...
(cherry picked from commit 5fd2827ab6 )
2018-11-01 17:58:17 +01:00
Araq
427aa63a66
nimpretty: test for idempotence; fixes #9483
...
(cherry picked from commit 06a6433db7 )
2018-11-01 17:56:53 +01:00
Araq
db68353848
nimpretty: fixes #8078
...
(cherry picked from commit 3ee53a7c8e )
2018-11-01 17:56:34 +01:00
Araq
8196fd6f73
nimpretty: fixes #9398
...
(cherry picked from commit e3a0415650 )
2018-11-01 17:56:04 +01:00
Araq
1b2c8317e0
nimpretty: minor bug fix
...
(cherry picked from commit 695074214b )
2018-11-01 17:55:43 +01:00
Araq
64f5c96685
nimpretty: fixes #9384
...
(cherry picked from commit bd9d5787f0 )
2018-11-01 17:48:17 +01:00
PMunch
b70b633e8e
Fixes #9364 and add moduleDescription to jsondoc ( #9396 )
...
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.
(cherry picked from commit db95fad6fa )
2018-11-01 17:47:27 +01:00
Miran
3ed61da6c1
improve error message, closes #2361 ( #9387 )
...
* improve error message
* use single % operation
(cherry picked from commit e8cf289bee )
2018-11-01 17:47:20 +01:00
Andreas Rumpf
e0eda28a99
nimpretty: fixes #9144
...
(cherry picked from commit 778e4d1775 )
2018-11-01 17:44:54 +01:00
Andreas Rumpf
06b1d17134
nimpretty: add #!nimpretty on/off directives
...
(cherry picked from commit f3c0703b7d )
2018-11-01 17:44:48 +01:00
Andreas Rumpf
754e11de3e
nimpretty: fixes #8626
...
(cherry picked from commit ed38079b9b )
2018-11-01 17:44:23 +01:00
Andreas Rumpf
3340e46310
nimpretty: render r-strings properly, fixes #9236
...
(cherry picked from commit 89ba0f8592 )
2018-11-01 17:44:09 +01:00
manterolat
a5aad7ff59
Fixes #9154 ( #9193 )
...
(cherry picked from commit 16a941a642 )
2018-11-01 17:29:20 +01:00
Timothee Cour
41e2f6b7bc
fix #9264 regression ( #9265 )
...
(cherry picked from commit 77f836b403 )
2018-11-01 17:28:57 +01:00
LemonBoy
0f080fdce3
Fix range type construction in the VM ( #9205 )
...
The `range[X,Y]` representation is wrong, we use `range[X .. Y]`
instead.
Fixes #9194
(cherry picked from commit 8a1055adce )
2018-11-01 17:26:50 +01:00
cooldome
221c67b880
fixes #9222 ( #9224 )
...
(cherry picked from commit 036c52f0b6 )
2018-11-01 17:26:15 +01:00
LemonBoy
ddd54a3413
Prevent the construction of recursive tyStatic types ( #9256 )
...
Fixes #9255
(cherry picked from commit b8d2f79ef0 )
2018-11-01 17:25:51 +01:00
Dheepak Krishnamurthy
ffeb3c6cec
Add checks for except: body blocks ( #9191 )
...
(cherry picked from commit 70018aa683 )
2018-11-01 17:25:30 +01:00
jcosborn
82896abcbe
fixes #4435 ( #9185 )
...
(cherry picked from commit dd65986795 )
2018-11-01 17:25:07 +01:00
Araq
82693514c5
attempt to fix the .line pragma
2018-10-03 01:25:47 +02:00
Araq
c92fdb24c8
fixes #5015
2018-10-03 00:00:19 +02:00
Araq
bf85955802
fixes #7092
2018-10-02 23:45:27 +02:00
Araq
7ac1e6e528
fixes #5479
2018-10-02 23:31:39 +02:00
Araq
f673fbd91f
fixes #6533
2018-10-02 19:54:02 +02:00
Araq
7935c4aa5a
C++ codegen: emit correctly typed code for closures in 'const'; refs #7870
2018-10-02 19:35:24 +02:00
Araq
7bac21ac23
ccgtypes: improve internal documentation
2018-10-02 19:33:29 +02:00
Araq
6f23b05c09
docgen: fixes typo
2018-10-02 16:18:16 +02:00
Araq
621b2db2e8
compiler IC: minor improvements
2018-10-02 16:18:16 +02:00
Araq
ae901b3272
fixes #7351
2018-10-02 16:18:16 +02:00
Araq
f98352a498
compiler: fixes path generation for .line pragma
2018-10-02 16:18:16 +02:00
Araq
76aab9baf1
compiler: make symbolfiles feature compile again
2018-10-02 16:18:15 +02:00
Araq
34398a9d66
fixes #9140
2018-10-01 15:07:41 +02:00
Araq
47653882ef
compiler: minor documentation improvement
2018-10-01 14:54:31 +02:00
LemonBoy
6d4503325c
Fix regression with runnableExamples in generic expr
...
The examples should not enter the generic analysis at all.
The regression was introduced in 4cf704bb as a fix for #8694 .
Fixes #9130
Fixes #8694
2018-09-30 14:11:53 +02:00
Sergey Avseyev
c1f677a7c9
fix extension passing for rst2tex command
2018-09-29 23:24:57 +03:00
Araq
40e01d8549
don't require an implementation for procs marked with .error; activate the move optimizer for destructors
2018-09-29 16:54:59 +02:00
LemonBoy
a1083d7c43
Fix codegen for some set operations
...
Taking the LHS type when a temporary result value was needed lead to bad
code being generated if we get a tyRef.
Fixes #9098
2018-09-28 09:59:45 +02:00
Andreas Rumpf
959e3a08b1
Merge pull request #9085 from LemonBoy/fix-9079
...
Constant folding should not drop distinct types
2018-09-28 09:29:09 +02:00
Araq
4046ee818f
fixes #9083
2018-09-27 22:34:06 +02:00
LemonBoy
e9b5a4e25d
Constant folding should not drop distinct types
...
Fixes #9079
2018-09-27 17:08:01 +02:00
Araq
787687727a
fixes #9076
2018-09-26 11:32:02 +02:00
Araq
548fc778c9
.error for routines now can also have a custom error message; improve error message for 'nil' strings
2018-09-25 00:28:39 +02:00
Araq
8029a649ba
math.nim: document what to use instead of 'fmod'
2018-09-25 00:10:21 +02:00
Andreas Rumpf
9a9005622b
make t7346 work again
2018-09-24 16:00:57 +02:00
Andreas Rumpf
9364369c1f
make tests green again
2018-09-24 16:00:57 +02:00
Andreas Rumpf
c38a608c90
C codegen: support system.move and system.wasMoved
2018-09-24 16:00:57 +02:00
Andreas Rumpf
3c461755e2
enable destructors for top level statements; needs to be documented
2018-09-24 16:00:57 +02:00