Araq
3bd6b7ddc7
improve the error messages for bug #6692
2017-11-05 02:51:20 +01:00
Araq
742f43e572
fixes #6609 ; 'if' expressions support multiple statements; minor breaking change
2017-11-05 01:26:04 +01:00
Araq
8cc268876a
bugfix: detect captures in non-closure inner procs
2017-11-03 18:05:14 +01:00
Andreas Rumpf
cccdd9b58e
fixes new liftLocals pass
2017-11-02 20:39:08 +01:00
Andreas Rumpf
762ade1177
'ord' does not produce a range type anymore
2017-11-02 18:23:21 +01:00
Andreas Rumpf
1ec0686d04
added missing file
2017-11-02 10:54:23 +01:00
Andreas Rumpf
bd19b5f4d3
implemented undocumented '.liftLocals' feature
2017-11-02 10:42:19 +01:00
Andreas Rumpf
286f895280
make range type checking more restrictive, see tn8vsint16 test case; minor breaking change
2017-11-01 15:33:28 +01:00
Fabian Keller
7c03c882f5
Remove more usages of unary lt ( fixes #6634 ) ( #6641 )
...
* fixes #6634
* remove more usages of unary <
2017-10-31 19:48:01 +01:00
Andreas Rumpf
0895064983
getEnv now supports a 'default' parameter; refs #6019
2017-10-30 17:21:05 +01:00
Andreas Rumpf
a155130cf2
fixes #1860 ; macro generating a wrong nkSymChoice node
2017-10-30 15:37:34 +01:00
Andreas Rumpf
6cb8bf8045
fixes bug reported in PR #5637
2017-10-30 09:19:02 +01:00
Andreas Rumpf
d7a896f19d
breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854
2017-10-30 00:27:30 +01:00
Andreas Rumpf
f1dab39086
remove old implementation of the roof operator; make tests green again; close #6292
2017-10-29 20:36:07 +01:00
Andreas Rumpf
d52a1061b3
work in progress: new implementation for 'a[^1]'
2017-10-29 19:46:17 +01:00
Andreas Rumpf
29c075299d
made nimresolve part of the compiler
2017-10-29 15:40:50 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Andreas Rumpf
c17f6c7837
new feature: package level objects
2017-10-29 07:54:39 +01:00
Andreas Rumpf
7889692523
first implementation of package level types that allow forwarding across module boundaries
2017-10-28 15:28:59 +02:00
Andreas Rumpf
c6235920cb
backend preparations for incomplete/forwarded object types
2017-10-28 13:46:43 +02:00
BigEpsilon
e2af486434
Add sections (type, var, let, const, using) support for reorder pragma ( #6326 )
2017-10-28 11:33:35 +02:00
Xiao-Yong
616db85c61
Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file ( #6542 )
...
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file
If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Araq
9c00f6decd
fixes #6526
2017-10-27 20:55:36 +02:00
Andreas Rumpf
129a599cd6
fixes #6422
2017-10-26 12:23:37 +02:00
Araq
b2a2522d2d
make tests green again
2017-10-26 00:55:23 +02:00
Araq
3aa7c2232e
destructors: supportsCopyMem finally works for recursive types
2017-10-26 00:55:23 +02:00
Araq
4f2b79a380
topttree destructor finally works
2017-10-26 00:55:23 +02:00
Araq
b407f083ba
destructors: work in progress
2017-10-26 00:55:23 +02:00
Araq
826ddbf809
ast.nim: spacing
2017-10-25 17:37:03 +02:00
Araq
5258447e01
concepts: make codegen aware of 'tyInferred'
2017-10-25 17:37:03 +02:00
Araq
9df766491d
default '=sink' and '=destroy' cannot be templates
2017-10-25 17:37:03 +02:00
Emery Hemingway
2ca7b703fb
No implicit quit for Genode ( #6515 )
2017-10-25 13:50:55 +02:00
Andreas Rumpf
1a0032eb68
added broken tbintree test
2017-10-19 21:03:20 +02:00
Andreas Rumpf
8be60dc6bd
allow 'block' and 'nkState' after return for easier state machine generation
2017-10-19 15:51:36 +02:00
Andreas Rumpf
186e7d49d3
fixes c2nim regression; do not produce more newlines
2017-10-19 13:29:11 +02:00
Andreas Rumpf
4f633dde64
make nested custom seqs work
2017-10-19 13:29:11 +02:00
Andreas Rumpf
fa0f04968f
bugfix: propagate the tfHasAsgn flag properly
2017-10-19 13:29:11 +02:00
Andreas Rumpf
0a3efccb55
preparations for another bugfix
2017-10-19 13:29:11 +02:00
Andreas Rumpf
9911d375b3
make destructors more robust against unchecked arrays
2017-10-19 13:29:11 +02:00
Andreas Rumpf
35c8b5e3bc
destructors: irresponsibly simple tcustomseq test works
2017-10-17 22:04:40 +02:00
Andreas Rumpf
e7f37d7223
added typetraits.supportsCopyMem
2017-10-17 21:59:17 +02:00
Andreas Rumpf
58d5f96790
destructors: lift type bound ops to objects and arrays etc
2017-10-17 14:48:16 +02:00
Andreas Rumpf
a0c5260c20
destructors: bugfix: lhs of assignment is irrelevant
2017-10-17 13:09:28 +02:00
Araq
45d74f4081
destructors: preparations for upcoming changes
2017-10-17 12:46:49 +02:00
Andreas Rumpf
9485f1c888
make tests green again
2017-10-16 20:29:16 +02:00
Andreas Rumpf
7eeef4aae7
fixes #1137
2017-10-16 16:47:10 +02:00
Araq
9d5f54f456
fixes #5007
2017-10-16 13:28:36 +02:00
Araq
604a15c0aa
some progress on the nimpretty tool; still not ready
2017-10-16 00:59:51 +02:00
Araq
c06f73b484
fixes an off-by-one error for nimpretty
2017-10-16 00:04:46 +02:00
Andreas Rumpf
ccf99fa5ce
closes #5070
2017-10-15 20:55:38 +02:00