Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | re-enable tests (#23591) | ringabout | 2024-05-10 | 1 | -4/+2 |
| | |||||
* | unordered enum for better interoperability with C (#23585) | ringabout | 2024-05-10 | 1 | -0/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ref https://forum.nim-lang.org/t/11564 ```nim block: # unordered enum block: type unordered_enum = enum a = 1 b = 0 doAssert (ord(a), ord(b)) == (1, 0) block: type unordered_enum = enum a = 1 b = 0 c doAssert (ord(a), ord(b), ord(c)) == (1, 0, 2) block: type unordered_enum = enum a = 100 b c = 50 d doAssert (ord(a), ord(b), ord(c), ord(d)) == (100, 101, 50, 51) block: type unordered_enum = enum a = 7 b = 6 c = 5 d doAssert (ord(a), ord(b), ord(c), ord(d)) == (7, 6, 5, 8) ``` | ||||
* | fixes #21280; Enum with int64.high() value crashes compiler (#21285) | ringabout | 2023-05-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | * fixes #21280; Enum with int64.high() value crashes compiler * Update tests/enum/tenum.nim * Update tests/enum/tenum.nim * fixes tests * Update tests/enum/tenum.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | megatest now checks refc too (#21341) | ringabout | 2023-02-09 | 1 | -1/+2 |
| | | | | | * megatest now checks refc too * fixes refc | ||||
* | closes #12589; add testcase (#20769) | ringabout | 2022-11-06 | 1 | -2/+14 |
| | | | | | | | * fixes #12589; add testcase * fixes i386 * i386 | ||||
* | followup #17876: remove annoying enum name clashes in tests/enum/tenum.nim ↵ | Timothee Cour | 2021-06-17 | 1 | -12/+11 |
| | | | | (#18291) | ||||
* | type with same name in different scope now works (#17710) | Timothee Cour | 2021-04-14 | 1 | -2/+3 |
| | | | | * type with same name in different scope now works * fix tests/enum/tenum.nim which was wrong because it was affected by this bug | ||||
* | fix #15752 (#15754) | cooldome | 2020-10-28 | 1 | -0/+9 |
| | |||||
* | add tests for recently closed issues (#10722) | Miran | 2019-02-23 | 1 | -0/+9 |
| | |||||
* | Merge tests into a larger file (part 2 of ∞) (#9335) | Miran | 2018-10-13 | 1 | -11/+144 |
| | | | | | | | | | | | | | | * merge controlflow tests * merge distinct tests * merge enum tests * merge fields tests * merge implicit tests * merge iter issues tests | ||||
* | Added a test case | Yuriy Glukhov | 2016-05-18 | 1 | -0/+6 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -8/+8 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 1 | -0/+8 |