LemonBoy
91b37311d9
Fix AST generation for case statements ( #8908 )
...
Fixes #7534
2018-09-07 21:07:06 +02:00
Andreas Rumpf
696c0c48c7
fixes merge conflict
2018-08-19 15:14:03 +02:00
LemonBoy
c04404635b
Fix unsound transform pass ( #8633 )
...
When a `var openArray[T]` function parameter goes trough the
`transformAddrDeref` pass we may lose the `var` specifier, leading to
nasty crashes at runtime.
2018-08-14 20:38:04 +02:00
LemonBoy
ba7c874a7d
Mysterious fix for #8550 ( #8561 )
...
Replacing the `for` body with a nkEmpty node is not the right thing to
do.
2018-08-12 20:41:48 +02:00
Andreas Rumpf
74bf316619
more progress on destructor based strings
2018-07-13 21:15:47 +02:00
Andreas Rumpf
0926754e68
make tests green again
2018-07-05 15:51:04 +02:00
Zahary Karadjov
31651ecd61
allow referencing other parameters in default parameter values
...
fix #7756
fix #1201
fix #7000
fix #3002
fix #1046
2018-06-16 16:46:32 +03:00
Araq
1074cc1fb9
fixes yet another merge conflict
2018-06-11 17:17:34 +02:00
Yuriy Glukhov
5c449c8cd1
Removed oldIterTranf feature
2018-06-10 23:42:53 +03:00
Araq
8e9551b1c7
fixex merge conflicts
2018-06-08 19:50:36 +02:00
Andreas Rumpf
9ab92824f6
AST change: keep nkStaticStmt in the AST for incremental compilation support
2018-06-03 20:16:29 +02:00
Andreas Rumpf
61fb83ecbb
baby steps for incremental compilation
2018-05-30 23:50:34 +02:00
Andreas Rumpf
40ec7be45c
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
2018-05-27 22:09:15 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
2018-05-18 15:18:00 +02:00
Araq
2a7fc84c86
remove ast.emptyNode global; cleanup configuration.nim
2018-05-16 03:06:07 +02:00
Yuriy Glukhov
cfe40a3e6e
Merge branch 'devel' into yield-in-try
2018-05-15 19:54:52 +03:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
fedc136985
transf and vmgen compile again
2018-05-12 09:38:41 +02:00
Yuriy Glukhov
48d8e215d5
Don't leak sem PContext into transf
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
d71f69ab50
Closure iter transformation
2018-05-09 22:25:27 +03:00
Andreas Rumpf
ee366f1746
.experimental can now be used to enable specific features
2018-04-24 09:34:29 +02:00
Andreas Rumpf
47335aab41
introduce nkTupleConstr AST node for unary tuple construction; breaking change
2018-04-13 17:45:58 +02:00
cooldome
16c1a90857
Cpp codegen: handling of imported exceptions. Fixes #3571 ( #7360 )
2018-04-10 12:14:59 +02:00
cooldome
12b11fd848
Fix compiler crash on try expression with infix as ( Fixes #7116 ) ( #7112 )
...
* Fix compiler crash
* make sure type is not lost
2018-01-29 05:59:49 +01:00
Andreas Rumpf
e4081a7201
preparations for language extensions: 'sink' and 'lent' types
2018-01-07 23:09:26 +01:00
Araq
720c73e6d5
symbol files: fixes the logic for multi-methods
2018-01-03 02:36:29 +01:00
Araq
ee67a67ac4
first steps in adding template/macro calls to stack traces
2017-12-21 10:03:33 +01:00
Araq
5d2e86ea1a
the documentation generator now supports ':test:' for the testing of test snippets
2017-11-28 01:15:33 +01:00
Andreas Rumpf
d072229975
fixes #6724
2017-11-19 00:37:36 +01:00
Andreas Rumpf
cccdd9b58e
fixes new liftLocals pass
2017-11-02 20:39:08 +01:00
Andreas Rumpf
bd19b5f4d3
implemented undocumented '.liftLocals' feature
2017-11-02 10:42:19 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Araq
b2a2522d2d
make tests green again
2017-10-26 00:55:23 +02:00
Araq
b407f083ba
destructors: work in progress
2017-10-26 00:55:23 +02:00
Andreas Rumpf
5dca695bcf
new destroyer pass works with procs too
2017-10-13 07:00:52 +02:00
Andreas Rumpf
63530be0b8
introduce --newruntime switch for the upcoming destructors and move semantics
2017-10-13 06:38:59 +02:00
Andreas Rumpf
a2e4ab2e4e
simple programs now work with the new destroyer pass
2017-10-12 17:42:15 +02:00
Andreas Rumpf
ec253ada72
initial version of the new untested destructor pass
2017-10-12 11:32:29 +02:00
Andreas Rumpf
1a61c4d46d
first implementation of the 'func' keyword
2017-09-23 23:22:53 +02:00
Andreas Rumpf
b58fbd1b48
fixes #5618
2017-03-28 20:57:34 +02:00
Andreas Rumpf
da821a22d9
nimsuggest: revert cpFuzzy bailouts
2017-03-09 11:30:36 +01:00
Andreas Rumpf
46f33515d7
Merge branch 'devel' into faster-nimsuggest
2017-02-24 01:28:50 +01:00
Arne Döring
92c2a51bf7
removed compiler internal list implementation ( #5371 )
2017-02-22 17:33:12 +01:00
Andreas Rumpf
46efaf294b
big compiler refactoring; avoid globals for multi method dispatcher generation
2017-02-22 16:27:52 +01:00
Araq
aebe9d7d13
make more tests green
2017-02-16 01:43:12 +01:00
Araq
97e26967f1
fixes #5383
2017-02-16 00:43:14 +01:00
Dominik Picheta
1c233ba27a
More progress towards a working #3691 .
2017-02-03 19:50:22 +01:00
Dominik Picheta
656da1f6a9
WIP: as with generics.
2017-02-02 21:36:49 +01:00
Dominik Picheta
814f527175
Fixes based on @Araq's feedback.
2017-02-01 21:51:17 +01:00