Commit Graph

3308 Commits

Author SHA1 Message Date
Araq
54bd728c13 some progress on #5228 2017-01-20 13:17:45 +01:00
Michael Jendrusch
953b8cbcc2 fixes #5234 (#5240) 2017-01-20 05:16:42 +01:00
Arne Döring
e8a00b805f fix seq add for nim node in VM (#5253)
fixes #4821
2017-01-19 20:10:01 +01:00
Arne Döring
130f30ddb2 make quote ast a ref type (#5246)
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Andreas Rumpf
b85898cd41 fixes #5237 2017-01-19 13:26:22 +01:00
Andreas Rumpf
249a352c6b fixes #3434 2017-01-19 07:11:17 +01:00
Lolo Iccl
a296f091e4 Fixes #5225 (#5243)
* Fixes #5225

* Fixes #5225

* Fixes #5225

fix typo
2017-01-18 21:04:03 +01:00
Yuriy Glukhov
05dec08cea Fixes #5244 (#5245) 2017-01-18 20:13:08 +01:00
Andreas Rumpf
2f08fdf623 implements {.gcsafe.} enforcement as a pragma block 2017-01-18 12:55:33 +01:00
Lolo Iccl
b6b5a11be7 Fixes #5112 (Fix error messages raised when multiple modules have the same original name) (#5220)
Fixes #5112
2017-01-17 16:58:50 +01:00
Michael Jendrusch
454547da8e Removed mangling of object fields for the js target only. (#5226)
* removed mangling of object fields for the js target only.

* changed default mangling behaviour for the php target as well.

* Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words.
2017-01-17 16:43:06 +01:00
Andreas Rumpf
54a6c5b348 fixes #5218 2017-01-16 23:04:53 +01:00
Brandon Pickering
9f95dd8e1d Create temp var in deepcopy if needed (#5205) 2017-01-15 06:26:59 +01:00
Andreas Rumpf
823fbd4e40 default GC can do a sort of heap dump via -d:nimTypeNames and dumpNumberOfInstances() 2017-01-14 04:00:06 +01:00
Andreas Rumpf
9753782f96 memory allocator hotfix: do not allocate tremendous amounts of memory 2017-01-13 12:07:37 +01:00
mfxmfx
8699372109 Correct the spelling of the word 'overridden'. (#5212) 2017-01-11 13:40:10 +01:00
Brandon Pickering
da1293c405 Reset exprs before return by arg. Fixes #5098 (#5191) 2017-01-11 06:24:31 +01:00
Zahary Karadjov
28005cf02d alternative fix for #4884; fixes tlateboundstatic 2017-01-11 00:44:52 +02:00
Andreas Rumpf
6ee487b0eb bugfix: abs(0.0) should be +0.0 2017-01-10 18:29:26 +01:00
Zahary Karadjov
bf612a7f19 fix #4884 2017-01-08 23:24:27 +02:00
Brandon Pickering
06740d674b Remove colon when unpacking yielded tuples. Fixes #5173 (#5190) 2017-01-08 14:07:29 +01:00
Araq
9c47bb9cc0 happy new year 2017-01-07 22:35:09 +01:00
Araq
5c08ca7ed2 make Nim compiler compile with 0.15.2 2017-01-07 02:43:31 +01:00
Araq
9d488261df added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 2017-01-07 02:38:26 +01:00
Andreas Rumpf
92b48dbcad fixes 'nim c file_without_nim_ext' regression; refs #5183 2017-01-06 18:22:27 +01:00
Andreas Rumpf
64912d3d70 fixes #5185 2017-01-06 18:15:08 +01:00
Araq
4910a87c6f gendepend improvements; refs #5144 2017-01-06 13:11:17 +01:00
Araq
842f66db25 compiler API: introduce options.disableNmiblePath 2017-01-06 13:11:17 +01:00
Araq
9c0319d211 fixes #5171 2017-01-03 17:06:31 +01:00
Araq
bf8f00f717 make nimforum compile again 2016-12-31 11:37:58 +01:00
Araq
adf8eea4df existance of new distros.nim module can be detected with defined(nimDistros) 2016-12-31 02:04:27 +01:00
Araq
6f260dd45c make vmgen more robust in the context of 'nim check' 2016-12-31 02:04:27 +01:00
Araq
cfea779e23 fixes #2050 2016-12-30 02:21:15 +01:00
Araq
45001632ce fixes #3848 2016-12-30 01:51:37 +01:00
Araq
020b41e294 fixes #5161 2016-12-30 01:43:26 +01:00
Araq
4104ee121d fixes #5147 2016-12-30 00:59:10 +01:00
Araq
700c024e13 fixes #5148 2016-12-29 19:32:43 +01:00
Araq
7148f6f104 make gendepend work again 2016-12-29 14:08:20 +01:00
Andreas Rumpf
9c4a60193f new shift ops for Nim; based on #4743 2016-12-29 12:07:27 +01:00
Andreas Rumpf
5743ff8386 attempt to mitigate Nimble issue #293 2016-12-29 12:07:27 +01:00
Andreas Rumpf
39b25cf4dc simple closure iterator calling closure iterator works; refs #3837 2016-12-27 09:51:58 +01:00
Andreas Rumpf
e1828733f1 fixes #4519 2016-12-25 15:26:32 +01:00
Araq
93fb8b67b9 fixes #5142 2016-12-23 12:27:14 +01:00
Araq
9e784523ca Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-22 16:43:56 +01:00
Araq
0ef6815529 fixes #5140 2016-12-22 16:43:37 +01:00
Chris Heller
80f9dcc6eb Used typed/untyped instead of stmt/expr in semQuoteAst. Fixes issue 5120 (#5126)
* Use typed/untyped instead of stmt/expr in semQuoteAst. Fixes #5120
2016-12-22 10:45:13 +01:00
Araq
237e2664e0 make tsets test green again 2016-12-22 09:53:46 +01:00
Andreas Rumpf
7bd473c59b fixes #5137 2016-12-22 09:13:22 +01:00
Andreas Rumpf
4e481cc316 implements module grouping for the import statement 2016-12-21 22:13:50 +01:00
Andreas Rumpf
22ce05ef16 fixes recently introduced regression 2016-12-21 12:15:47 +01:00