Arne Döring
08f094c487
fix #11812 ( #11829 )
...
* fixes #11812
* fixes #10899
* fixes #11367
(cherry picked from commit 1a77040278 )
2019-08-12 11:07:48 +02:00
narimiran
a7683f8b86
close #9891 by adding a test
...
(cherry picked from commit 13190435a6 )
2019-08-12 10:52:05 +02:00
cooldome
28664cf7b8
fixes #11792 ( #11793 )
...
(cherry picked from commit d563efb719 )
2019-08-12 10:50:36 +02:00
Arne Döring
80e51bb407
Offsetof fixes ( #11690 )
...
* first fixes
* more tests and fixes
* code normalization
(cherry picked from commit 11dad688fe )
2019-07-15 07:58:26 +02:00
Andreas Rumpf
5cc49aad44
fixes #11660 ( #11677 )
...
(cherry picked from commit bab1f67971 )
2019-07-08 11:33:20 +02:00
Arne Döring
191b7e0bde
[backport] fix #11320 ( #11538 )
...
* [backport] fix #11320
* fix test for 32 bit test
(cherry picked from commit 20d0ef8afb )
2019-07-08 11:26:20 +02:00
Jasper Jenkins
6b23b2d7df
parseopt fix ( #11363 ) [backport]
2019-06-01 10:44:08 +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
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
Araq
795044ed2b
make tests green again
2019-05-27 21:29: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
Oscar Nihlgård
bc0f2f0dd2
Add test case for #3766 ( #11252 )
2019-05-15 08:22:45 +02:00
Oscar Nihlgård
de5c0d3aa9
Make range checks in semConv ( #7164 )
...
* Remove NaN/Inf/NegInf magic
* Make range checks in semConv
* fix the failing line
* fix `firstOrd` and `lastOrd`
* fix `localError`
* remove debug comment
* Cleanup, fix failing test
* make tests green
2019-05-10 11:10:11 +02:00
Oscar Nihlgård
4c6fc173b7
low/high for float ranges ( #11177 )
2019-05-06 21:19:40 +02:00
Arne Döring
188870648a
sizeof alignof offsetof macros api ( #10855 )
2019-03-19 08:23:00 +01:00
Arne Döring
2c01f0ad8d
tsizeof test is now correct ( #10788 )
2019-03-06 08:12:16 +01:00
Andreas Rumpf
2dc8a32324
make megatest green again
2019-03-05 08:17:30 +01:00
Arne Döring
1d9b88f25d
sizealign of union type ( #10780 )
...
* sizealign of union type
* add error message for packed union
2019-03-04 09:19:38 +01:00
narimiran
ec66fd07cb
quickfix: make tsizeof3 also work on 32-bit
2019-02-28 19:20:22 +01:00
Miran
e7878c0d08
add tests for recently closed issues ( #10722 )
2019-02-23 10:41:35 +01:00
Arne Döring
28394153ab
32 bit fixes ( #10608 )
2019-02-13 23:30:14 +01:00
Timothee Cour
942495611b
revive #10228 ( fix #9880 ) ( #10610 )
...
* Make index out of bounds more useful by including the 'bounds'.
* fixes #9880 index out of bounds (remaining cases); revives #10228
* change err msg to: `index 3 not in 0 .. 1`
2019-02-13 23:30:14 +01:00
Oscar Nihlgård
0091f2ad3b
Implement {.booldefine.} ( #10533 )
2019-02-03 09:06:00 +01:00
Andreas Rumpf
dee8e6e98a
gc: destructors is beginning to work ( #10483 )
...
* kochdocs.nim: code cleanup
* docgen: nicer indentation
* parser.nim: code cleanup
* fixes #10458
* make tests green again
* make =destroy mixins
* gc:destructors: produced C code is almost working
* --gc:destructors simple program compiles (but leaks memory)
* gc:destructors make examples compile in C++ mode
* destructors: string implementation bugfixes
* strs.nim: minor code cleanup
* destructors: builtin seqs are beginning to work
* remove debugging helpers
2019-01-29 15:12:16 +01:00
Miran
268197add8
properly deprecate parseopt2 ( #10452 )
2019-01-25 13:13:55 +01:00
Timothee Cour
27e2ed4375
fix #9629 every binary cmd line option allows on/off/empty=on ( #10353 )
...
* fix #9629 every binary cmd line option allows on/off/empty=on
* workaround refs #10359
2019-01-18 09:03:26 +01:00
Timothee Cour
795e5e11ef
parseopt2.cmdLineRest is now correct too ( #10304 )
2019-01-15 21:51:02 +01:00
Timothee Cour
9e68b2ce5d
fix test
2019-01-14 17:00:54 -08:00
Timothee Cour
0a8762eb7b
fix #9842 #9951 : nim -r and parseopt.cmdLineRest are now correct
2019-01-14 17:00:54 -08:00
Arne Döring
abad758a7e
Fix for sizeof bitsize combination ( #10227 )
...
* fix #10082
* added test
2019-01-07 18:09:57 +01:00
Andreas Rumpf
062d7e3a39
fixes #10082
2018-12-30 02:45:43 +01:00
Andreas Rumpf
2fd522cf58
use anon structs and unions for a much better debug experience ( #10055 )
2018-12-20 11:44:26 +01:00
Andreas Rumpf
bb1ce398af
Merge pull request #9881 from timotheecour/pr_ref_9880
...
refs #9880 show index and bound in lots of `index out of bounds` errors
2018-12-11 21:49:08 +01:00
Andreas Rumpf
ac785b0623
testament: joinable is now an explicit concept of a test spec
2018-12-11 21:23:24 +01:00
Araq
3b783f7e13
Testament: refactoring; makes the test joiner green
2018-12-11 21:23:23 +01:00
Arne Döring
a5ecbf823f
lots of small changes
2018-12-11 21:23:22 +01:00
Arne Döring
3859878db8
megatest checks output and nimout
2018-12-11 21:23:22 +01:00
Arne Döring
2a4c09ff88
megatest can be executed
2018-12-11 21:23:21 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Araq
4ec40796e6
fixes #9868
2018-12-11 10:28:56 +01:00
Timothee Cour
f3ecc15a94
refs #9880 show index and bound in lots of index out of bounds errors
2018-12-09 16:50:45 -08:00
Araq
1711a60f7b
fixes #9868
2018-12-05 16:16:58 +01:00
Araq
562d185cb7
cleanup tests; don't use non-working 'msg' spec field
2018-11-23 13:16:45 +01:00
Arne Döring
ce7121530d
remove problem test
2018-11-23 11:58:31 +01:00
Arne Döring
523ca76c4d
eyewash
2018-11-23 11:58:31 +01:00
Arne Döring
d60615583f
hopefully this time the tests will compile on the server
2018-11-23 11:58:29 +01:00
Arne Döring
e012eb1001
updated tests to be executed
2018-11-23 11:58:28 +01:00
Arne Döring
8ea72bdcea
delete old cruft
2018-11-23 11:58:28 +01:00
Arne Döring
031bfdec6f
make run the default action of a test in tester
2018-11-23 11:58:28 +01:00
Arne Döring
1e08fff2d5
bitsize respected in size calculation. ( #9756 )
2018-11-19 13:48:40 +01:00