flywind
9df195ef58
style usages part one (openarray => openArray) ( #19321 )
...
* style usages (openArray)
* revert doc changes
2022-01-04 13:29:50 +01:00
Andreas Rumpf
018465a234
fixes #18643 [backport:1.0] ( #18678 )
2021-08-12 08:25:11 +02:00
Tanguy Cizain
363467fc00
Fix array's high & low return type for empty arrays ( #17705 )
...
* fix array.high/low return type
* Add test for empty array low return type
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
2021-04-15 15:45:38 +02:00
flywind
d447c0fe3f
use typeof instead type ( #16962 )
2021-02-08 09:46:07 +01:00
Timothee Cour
b3c3557c33
fix #16025 repr now consistent: does not insert trailing newline ( #16034 )
2020-11-19 12:12:51 -08:00
Paul Tan
ad3c10022a
guards.nim:sameTree(): handle uint literals correctly ( #12483 ) [backport]
2019-10-22 18:18:33 +02:00
Andreas Rumpf
64e1408920
fixes #8316 ( #11673 )
2019-07-06 20:02:50 +02:00
Jasper Jenkins
8ee0f14ab6
literal array indices ( #11424 )
2019-06-18 14:16:33 +02:00
Vindaar
36e34d9aed
close #3899 by adding test case ( #10424 )
2019-01-23 08:44:19 +01:00
Timothee Cour
6ce3949c8a
add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail ( #10070 )
...
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2)
fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim
* Note: isNamedTuple is useful in other places, eg #10010 (comment)
* move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim
* remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
2019-01-08 18:37:25 -08:00
Andreas Rumpf
ac785b0623
testament: joinable is now an explicit concept of a test spec
2018-12-11 21:23:24 +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
e71410d74e
language cleanup: the .unchecked pragma is dead
2018-11-06 13:55:03 +01:00
LemonBoy
6ef198e07b
Relax the restrictions on the index types ( #9412 )
2018-10-18 11:08:05 +02:00
Andreas Rumpf
0d48bafcf0
fixes a regression about indexing into UncheckedArray
2018-10-16 20:09:12 +02:00
Miran
7f18d7cbc1
Merge tests into a larger file (part 1 of ∞) ( #9318 )
...
* merge actiontable tests
* merge arithm tests
* merge array tests
* merge assign tests
* merge bind tests
* merge casestmt tests
* merge closure tests
* merge cnt seq tests
* merge collections tests
* merge concept issues tests
* merge concept tests
* fix failing tests
* smaller outputs
Use `doAssert` where possible.
* fix wrong output
* split `tcomputedgoto`
* revert merging concepts
* fix failing test
2018-10-12 17:02:46 +02:00
Oscar Nihlgård
651c0e45da
semcheck negative array length ( #7518 )
2018-04-06 17:05:28 +02:00
cooldome
51d81c4e23
Fixes #6853 ( #7188 )
...
* Fixes #6853
* Add a test for a const empty array
2018-02-10 16:44:41 +01:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
2a1acbd1a6
fixes #1669
2014-11-22 23:09:08 +01:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00