Commit Graph

4774 Commits

Author SHA1 Message Date
Miran
d353c20c03 fixes #7569, all credit to @vincentvidal (#11213)
(cherry picked from commit e54546bcff)
2019-05-10 09:41:27 +02:00
Clyybber
b85cc17998 Fix #9844 (#11216)
(cherry picked from commit 6be9b98e35)
2019-05-10 09:39:03 +02:00
genotrance
8c4c3464e1 Fix 105, few fixes for 101 (#11148)
(cherry picked from commit 45759b5e90)
2019-05-07 17:38:00 +02:00
Andy Davidoff
15c526c298 render urls correctly (#11022)
(cherry picked from commit 485d5448fa)
2019-05-07 17:36:17 +02:00
Araq
d92f322faa backport sane ast.isException implementation 2019-04-30 09:30:35 +02:00
cooldome
dbca89730b Fixes #7845 (Cannot raise generic exception)
(cherry picked from commit 541c2a3fec)
2019-04-29 13:35:45 +02:00
Andreas Rumpf
c9c5abcdc1 fixes #10886 [backport] (#10897)
(cherry picked from commit 0b2a3f6f7f)
2019-03-24 19:07:08 +01:00
Andreas Rumpf
541b8df315 multi-methods: remove hack, make tmethod_various compile under strict C++ [backport]
(cherry picked from commit 4181baf400)
2019-03-24 19:04:57 +01:00
Araq
32780acc61 fixes 10697 [backport]
(cherry picked from commit 257965e105)
2019-02-20 19:46:19 +01:00
LemonBoy
3aeaa90bd8 Fix edge case in type hashing (#10601) [backport]
Empty types introduced by a template produced the same hash of the
"clean" type sharing the same name.

(cherry picked from commit 631a8ab57f)
2019-02-20 19:34:16 +01:00
Arne Döring
c9441c6f79 Vm bitops fixes (#10520) 2019-02-05 15:51:08 +01:00
Arne Döring
eb42853ff4 Fix vm signed xor (#10519)
* fix #10482

* undo changes

* fix for bitwise not

* remove dead opcode

(cherry picked from commit b80dbdb77d)
2019-02-05 15:41:40 +01:00
cooldome
c366a8e386 vm fix for bitwise signed ints (#10507)
* fixes #10482

* add missing file

* bug fix

(cherry picked from commit 1d5437e9d2)
2019-02-05 15:41:25 +01:00
Neelesh Chandola
3959b2fd24 Fixes https://github.com/nim-lang/Nim/issues/8484 (#10470) [backport]
(cherry picked from commit 2b0ed9995d)
2019-01-31 08:28:08 +01:00
Miran
a89534eb96 fix #9556 (#10445) 2019-01-25 09:59:53 +01:00
Ico Doornekamp
00fcaefaab Fixes #10263; [backport]
(cherry picked from commit efa4b9adaa)
2019-01-23 16:07:13 +01:00
genotrance
031de094f0 Fix gorge caching (#10407)
(cherry picked from commit 4b1e227531)
2019-01-22 06:31:50 +01:00
Oscar Nihlgård
ba68025ce5 Support system.reset in vm (#10400)
(cherry picked from commit a4cdd25b19)
2019-01-22 06:31:28 +01:00
LemonBoy
56b26966c8 Make the registered passes local to the ModuleGraph (#9259)
Closes #9068

(cherry picked from commit b97a7dbf3d)
2019-01-21 08:39:18 +01:00
Araq
e21b578740 fixes #10075 [backport]
(cherry picked from commit aa7ad88978)
2019-01-14 09:18:27 +01:00
Araq
81c9bee285 fixes #10188
(cherry picked from commit 5101b6befd)
2019-01-09 11:01:51 +01:00
Araq
5fc78d86b7 runnableExamples: compile and test them as a single file; fixes #9300 2019-01-09 11:00:40 +01:00
Araq
e4767ef8d5 fixes #9889, fixes #9886
(cherry picked from commit 7a66616d74)
2019-01-02 11:39:49 +01:00
Araq
8d3cadbc94 tar.xz building: also ship with the moved testament tool
(cherry picked from commit 00f84d3d22)
2019-01-02 10:39:49 +01:00
narimiran
a23b5c9265 Revert "Undefine some symbols and globalOptions when processing nimscript (#9945) [backport]"
This reverts commit 90b4648a99.
2018-12-31 11:17:27 +01:00
Araq
0b9d158d11 fixes #10033 [backport]
(cherry picked from commit bdb67201b2)
2018-12-29 10:52:09 +01:00
Araq
98bf23fe08 fixes #10058 [backport]
(cherry picked from commit 23448a96cc)
2018-12-29 10:47:49 +01:00
Neelesh Chandola
90b4648a99 Undefine some symbols and globalOptions when processing nimscript (#9945) [backport]
* Undefine some symbols when processing nimscript
* Undefine taintMode when processing nimscript
* Reload .cfg configuration

(cherry picked from commit bb85869237)
2018-12-29 10:45:33 +01:00
Jacek Sieka
a29ab5e65f allow uints to appear in deep constant expressions
(cherry picked from commit db51eb3e32)
2018-12-15 10:43:23 +01:00
Timothee Cour
c16fa63f5e fix #9872: setLen now works properly at CT [backport]
(cherry picked from commit f838b1e6c1)
2018-12-15 10:24:54 +01:00
Araq
28946ed9f6 fixes #9864 [backport]
(cherry picked from commit af815c3c18)
2018-12-15 10:07:15 +01:00
Timothee Cour
c0e741778f fix #9832 (fixup) (#9859)
(cherry picked from commit d502ddea9e)
2018-12-15 10:06:45 +01:00
Timothee Cour
c3319fcad5 fixes #9832 (#9841) [backport]
(cherry picked from commit 05769020d3)
2018-12-15 10:06:25 +01:00
Andreas Rumpf
7572d40b23 enables .raises: [] via a .push (#9834) [backport]
(cherry picked from commit c74226f4c1)
2018-12-15 09:41:22 +01:00
Andreas Rumpf
e091c99514 don't crash where there is an unknown statement pragma [backport]
(cherry picked from commit 93cf0ef52e)
2018-11-28 17:49:45 +01:00
Yuriy Glukhov
219942658b Fixes 9716 [backport] 2018-11-24 17:35:24 +01:00
cooldome
ad554a2013 Fixes discard bug in cpp codegen (#9747) [backport]
Fixes discard bug in cpp codegen

(cherry picked from commit 9b9f5dee0b)
2018-11-24 12:17:32 +01:00
Yuriy Glukhov
43b3582952 Fixed yield in nkObjConstr. Fixes #9694 [backport] (#9744)
* Fixed yield in nkObjConstr. Fixes #9694
* Separate expr lowering from state splitting, introduce a clear lowering internal error

(cherry picked from commit 5a2290f788)
2018-11-24 12:17:21 +01:00
cooldome
64a4c72392 Of operator in vm fixes [backport] (#9717)
* fixes #9701
*  fixes #9702
* optimize of statement to bool

(cherry picked from commit 8c1083d3b7)
2018-11-24 12:15:43 +01:00
Andreas Rumpf
fa3017f6bb nimpretty: fixes #9673 [backport]
(cherry picked from commit 532647171e)
2018-11-24 12:15:12 +01:00
Andreas Rumpf
172e95be50 nimpretty: explicit --indent option; fixes #9502; refs #9510 [backport]
(cherry picked from commit d1fe195dcc)
2018-11-24 12:15:05 +01:00
Andreas Rumpf
7d88738068 parser/grammar sync; fixes #9608 [backport]
(cherry picked from commit 4e94f49065)
2018-11-24 12:14:18 +01:00
Andreas Rumpf
5f7679cb50 nim check fix; fixes #9609 [backport]
(cherry picked from commit 1c73db08b8)
2018-11-24 12:14:09 +01:00
Andreas Rumpf
4cece52524 Nimscript: fixes #9246 [backport]
(cherry picked from commit 73c306258b)
2018-11-24 12:13:36 +01:00
Araq
c514fd5b27 manually backported the fix to #9322 2018-11-04 13:27:45 +01:00
LemonBoy
1355dd1884 Fix transformation of yield in inline context (#9135)
When the loop variables are part of the envP block it is not safe to use
a nkFastAsgn.

Fixes #2656

(cherry picked from commit f98a3056c6)
2018-11-04 13:16:28 +01:00
LemonBoy
d37ec666d7 cherry pick 2018-11-04 09:02:03 +01:00
Araq
da1569afb6 fixes #9507
(cherry picked from commit eb2e494a52)
2018-11-04 08:47:34 +01:00
Neelesh Chandola
abf02b5f28 Fixes #9556 (#9604) [backport]
(cherry picked from commit 7a15d2d04b)
2018-11-03 07:28:51 +01:00
Araq
98103b5433 docgen: fixes #9432 [backport]
(cherry picked from commit 48f73aaa1c)
2018-11-03 07:27:53 +01:00