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 |
|
Andreas Rumpf
|
fedd695d76
|
Merge pull request #9046 from LemonBoy/fix-9043
Fix for VM codegen with static[T] types
|
2018-09-23 23:08:35 +02:00 |
|
LemonBoy
|
fb54f394e8
|
Fix for VM codegen with static[T] types
Fixes #9043
|
2018-09-23 18:17:00 +02:00 |
|
Andreas Rumpf
|
179791aa9a
|
Merge pull request #8746 from LemonBoy/nil-opts
nil strings are movable
|
2018-09-23 07:51:22 +02:00 |
|
LemonBoy
|
7a087ffb29
|
nil strings are movable
|
2018-09-22 20:47:49 +02:00 |
|
Andreas Rumpf
|
b2727d03a6
|
Merge pull request #9020 from LemonBoy/fix-9019
Revert #7964
|
2018-09-22 13:53:58 +02:00 |
|
Araq
|
af0c497f5d
|
fixes #8081
|
2018-09-22 13:52:40 +02:00 |
|
Andreas Rumpf
|
0930ec72d9
|
Merge pull request #9028 from LemonBoy/fix-8985
Fix locals() interaction with generic types
|
2018-09-22 09:11:33 +02:00 |
|
LemonBoy
|
e07ab06f0a
|
Fix locals() interaction with generic types
Follow the same logic as semTupleFieldsConstr and only skip skVar since
we're gonna add a nkDefer anyway.
Fixes #8985
|
2018-09-21 22:35:54 +02:00 |
|
Jörg Wollenschläger
|
c29d9f0382
|
Allow custom pragmas on more symbols again
|
2018-09-22 03:32:04 +09:00 |
|
LemonBoy
|
4d9aec1858
|
Revert #7964
Somehow the test case doesn't crash anymore and the regression in the
doc generation is fixed.
Fixes #9019
|
2018-09-21 18:59:46 +02:00 |
|
Andreas Rumpf
|
6b5e2adfd0
|
niminst: don't depend on NIMINSTDEPS environment variable anymore
|
2018-09-21 09:09:52 +02:00 |
|
Araq
|
113b530a52
|
cleanup import paths
|
2018-09-21 00:34:45 +02:00 |
|
Araq
|
4711b81b86
|
compiler/nim.cfg: cleanup --path
|
2018-09-21 00:31:16 +02:00 |
|
Andreas Rumpf
|
7ee6774fb7
|
travis: run 'koch testinstall' on OSX
|
2018-09-18 15:27:54 +02:00 |
|
Andreas Rumpf
|
23c323ea1d
|
docgen tests: patch 'nim' commands to use the currently running exe instead
|
2018-09-18 15:27:54 +02:00 |
|
Andreas Rumpf
|
a5d014233a
|
Merge pull request #8996 from LemonBoy/fix-2574
The VM cannot call methods
|
2018-09-18 10:29:49 +02:00 |
|
Andreas Rumpf
|
aa2d219afe
|
Merge pull request #8995 from LemonBoy/fix-4952
Fix error during field access in VM
|
2018-09-18 09:38:28 +02:00 |
|
Andreas Rumpf
|
c661f8e1be
|
Merge pull request #8983 from cooldome/codegen_crash
Fixes 8979
|
2018-09-18 09:36:16 +02:00 |
|
Andreas Rumpf
|
9c6dde1b70
|
Merge pull request #8990 from LemonBoy/fix-8259
Always check the deduced type validity for result
|
2018-09-17 22:45:12 +02:00 |
|
Araq
|
34388c5cc5
|
name mangling: also special case the backslash character
|
2018-09-17 20:48:55 +02:00 |
|
Andreas Rumpf
|
539fc5d58b
|
improve the error message for 'attempt to redefine X'; fixes #447
|
2018-09-17 19:54:56 +02:00 |
|
Andreas Rumpf
|
3467c455c0
|
fixes #1616; fixes 'nim doc' regressions
|
2018-09-17 19:54:56 +02:00 |
|
LemonBoy
|
c2e5faf959
|
The VM cannot call methods
Fixes #2574
|
2018-09-17 19:14:13 +02:00 |
|
LemonBoy
|
027cc5013e
|
Fix error during field access in VM
Tuple constructors can't have nkExprColonExpr but may contain NimNodes
of that kind.
Fixes #4952
|
2018-09-17 18:52:40 +02:00 |
|
LemonBoy
|
3588240226
|
Always check the deduced type validity for result
Fixes #8259
|
2018-09-17 15:33:44 +02:00 |
|
Andrii Riabushenko
|
acaf2b8e76
|
Fixes 8979
|
2018-09-16 21:33:21 +01:00 |
|
Andreas Rumpf
|
a622291be4
|
parser.nim: minor code style fix
|
2018-09-16 21:33:08 +02:00 |
|