Commit Graph

3765 Commits

Author SHA1 Message Date
Arne Döring
99a4fed96b fix for passing tuples as static params to macros (#11423); fixes #10751 [bugfix]
* add vm value preparation proc

* small optimization
2019-06-07 14:34:59 +02:00
Arne Döring
cfeb9d2c50 Bit operator names 2 (#11413)
* add bit operator names

* add test for bitop alias
2019-06-06 08:36:20 +02:00
Araq
f844891e48 make megatest work with 'koch boot -d:release' too 2019-06-05 22:32:19 +02:00
andri lim
c16a753822 fix macrocache implementation (#11404)
* macrocache improvements

* fix macrocache implementation
2019-06-05 14:56:45 +02:00
Arne Döring
efbf43d4a9 intVal works now on enum field symbols (#11403)
* intVal works now on enum field symbols

* disable flakey titerators test
2019-06-05 14:55:47 +02:00
Arne Döring
cb45527e37 pass typedesc as NimNode to macros (#11400)
* change typedesc's design in macros

* Manual and changelog entry.

* add link to RFC
2019-06-05 09:17:04 +02:00
Andreas Rumpf
7215341190 make fullpaths the default in error messages and stack traces for mor… (#11385)
* make fullpaths the default in error messages and stack traces for more convenient development
* split up -d:release into -d:release and -d:danger flags
* workaround a Nim config parser bug
* fixes an old nim config parser bug
* make megatest green again
* make nimpretty tests work again
* make nimsuggest green
2019-06-05 08:02:54 +02:00
Jasper Jenkins
fc4f0808c4 parameter runtime discriminators (#11397)
* allow param for runtime discriminator construction
2019-06-04 22:10:39 +02:00
Araq
5f4e8dc4c9 added a nice test case for macro based lookup tables 2019-06-04 11:16:30 +02:00
Andreas Rumpf
5eb47f8ed9 fixes #11369 (#11381) 2019-06-02 14:24:38 +02:00
Andreas Rumpf
4a35d2b571 fixes #11375 (#11376) 2019-06-02 06:33:35 +02:00
Jasper Jenkins
6b23b2d7df parseopt fix (#11363) [backport] 2019-06-01 10:44:08 +02:00
narimiran
3b73da310c close #9961 by adding a test 2019-05-30 12:34:27 +02:00
narimiran
cb71564785 close #9827 by adding a test 2019-05-30 11:18:17 +02:00
narimiran
4606a00d4e close #8573 by adding a test 2019-05-30 11:13:29 +02:00
alaviss
1d00f7f9d7 travis: cleanup & add 32-bit Linux testing (#11337) 2019-05-30 07:34:54 +02:00
Arne Döring
5b27b263fd Remove immediate pragma (#11308)
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
Araq
9ecb1aae80 new compiler feature: --expandMacro 2019-05-29 20:47:28 +02:00
Arne Döring
88b5dd3362 right shift is now by default sign preserving (#11322)
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
narimiran
897e7c90ac fix megatest 2019-05-29 16:42:36 +02:00
narimiran
d654383a8e rename a file, so that megatest doesn't complain 2019-05-29 15:44:52 +02:00
narimiran
6f5eba4b94 close #7792 by adding a test 2019-05-29 14:56:39 +02:00
narimiran
a8939686a1 close #8199 by adding a test 2019-05-29 14:47:45 +02:00
narimiran
3845faf85f close #7615 by adding a test 2019-05-29 14:35:05 +02:00
narimiran
d1b4f1082e close #5859 by adding a test 2019-05-29 13:37:55 +02:00
Yuriy Glukhov
6904f323aa Fixed #9762 (#11296) 2019-05-29 12:11:03 +02:00
narimiran
4f989b9162 close #5235 by adding a test 2019-05-29 11:52:54 +02:00
Andreas Rumpf
e68adca0c9 fixes #6777 (#11347) 2019-05-28 22:00:01 +02:00
Araq
8bb1a6b041 fixes #11205 2019-05-28 21:30:41 +02:00
Zed
1f8c9aff1f Fix and reenable thread tests (#11343) 2019-05-28 15:23:09 +02:00
narimiran
379916c737 make tests green 2019-05-28 07:31:25 +02:00
narimiran
c644bf399f tsendtwice test: make it arch-independent 2019-05-27 21:51:54 +02:00
narimiran
0fc42fc4f7 tableinstatic test: make it arch-independed 2019-05-27 21:41:24 +02:00
Araq
795044ed2b make tests green again 2019-05-27 21:29:02 +02:00
Andreas Rumpf
49e686ab4e fixes #1286; object case transitions are now sound 2019-05-27 21:29:02 +02:00
Jasper Jenkins
f774426095 Smarter variant object construction (#11273) 2019-05-26 21:22:02 +02:00
Oscar Nihlgård
3a06022071 Enable range checking for unsigned integers (#11313)
* Enable range checking for unsigned integers

* Make the tests green
2019-05-25 20:48:13 +02:00
Andreas Rumpf
7e9cda7dba fixes #10299 (#11324) 2019-05-25 07:33:33 +02:00
Andreas Rumpf
7e53c1c5c5 fixes #11188 (#11319) 2019-05-24 22:50:43 +02:00
Andreas Rumpf
ef8ddef47b fixes #10912 (#11317)
* fixes #10912

* update the tutorial examples
2019-05-24 18:33:53 +02:00
Araq
03e619349f cleanup keineschweine test; removes unused module 2019-05-24 09:43:33 +02:00
Andreas Rumpf
39a3dbb16b fixes #11187 (#11315) 2019-05-24 08:19:05 +02:00
Araq
c7de1a252e fixes #11257 2019-05-24 00:44:49 +02:00
Araq
b75ad05267 fixes move analyser; refs #11257 2019-05-24 00:12:36 +02:00
Andreas Rumpf
aa4cf92ae8 fixes #11309 (#11310) 2019-05-23 19:32:44 +02:00
Andreas Rumpf
fd16875561 fixes #8568 (#11303)
* fixes #8568

* fixes regression
2019-05-22 20:59:54 +02:00
Araq
85ac4bfff6 closes #6076 2019-05-22 15:42:34 +02:00
Andreas Rumpf
1e97b420bb fixes #7167 (#11300)
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
57bc8d73b4 fixes subtype relation regression 2019-05-22 07:41:16 +02:00
Araq
90e882d55b fixes #11239 2019-05-22 07:41:16 +02:00