cooldome
9193c85b61
fix #15516 ( #15518 )
...
(cherry picked from commit fe187719ab )
2020-10-09 10:15:20 +02:00
Andreas Rumpf
2dcf32f5c8
fixes #13671 [backport] ( #13678 )
...
(cherry picked from commit 5f6997794e )
2020-04-14 07:13:43 +02:00
Andreas Rumpf
17ae3016c7
fixes #13661 ( #13664 ) [backport]
...
(cherry picked from commit 5ba5b5202a )
2020-04-14 07:12:31 +02:00
Miran
6d65e69b10
[backport] -d:danger should imply -d:release ( #13336 )
...
(cherry picked from commit c6d5f0df8d )
2020-02-19 18:56:52 +01:00
Nindaleth
1d43c8620e
fix several typos in documentation and comments ( #12553 )
...
(cherry picked from commit 34dbc5699e )
2019-10-30 10:38:25 +01:00
narimiran
d79fb77974
close #6731 by writing a test case
2019-09-13 07:46:46 +02:00
Araq
755c4428fe
added more tests and updated the changelog
2019-09-02 11:03:08 +02:00
Clyybber
f9600b7207
Remove ENDB ( #12095 )
2019-08-31 07:44:53 +02:00
Andreas Rumpf
21fc8b4d4d
refactor sizealignoffset ( #12077 )
...
* small refactoring
* refactor computeObjectOffsetFoldFunction with AccumObject
* refactor packed object offstes fold function
* refactor compute union object offsets fold function
* merge normal/packed object offset fold function
* compiletime offsetof in c++ inheritance objects
* enable c++ inheritance offsetof tests
* correct alignment for big sets/enums on weird 32bit platforms
* uncomputedSize -> unknownSize
* workaround for travis
* fixes win32 alignment problems
2019-08-28 19:36:29 +02:00
Andreas Rumpf
fbb2763204
fixes #11958 ( #12013 )
2019-08-23 18:58:55 +02:00
Araq
b1b0960c36
fixes #11972
2019-08-20 15:47:04 +02:00
Arne Döring
afbcd1b330
int128 on firstOrd, lastOrd and lengthOrd ( #11701 )
...
* fixes #11847
2019-08-07 15:53:16 +02:00
Arne Döring
1a77040278
fix #11812 ( #11829 )
...
* fixes #11812
* fixes #10899
* fixes #11367
2019-07-27 07:21:47 +02:00
narimiran
13190435a6
close #9891 by adding a test
2019-07-25 09:25:18 +02:00
cooldome
d563efb719
fixes #11792 ( #11793 )
2019-07-21 16:53:22 +02:00
Arne Döring
11dad688fe
Offsetof fixes ( #11690 )
...
* first fixes
* more tests and fixes
* code normalization
2019-07-09 09:07:45 +02:00
Andreas Rumpf
bab1f67971
fixes #11660 ( #11677 )
2019-07-07 15:25:25 +02:00
Arne Döring
20d0ef8afb
[backport] fix #11320 ( #11538 )
...
* [backport] fix #11320
* fix test for 32 bit test
2019-07-03 08:00:40 +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