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
Andreas Rumpf
df4d5b77a1
introduce precise string '[]', '[]=' accessors; fixes #8049 ( #8817 )
2018-08-30 23:01:15 +02:00
andri lim
069a53ad4b
fixes #7906 , array and openarray arg vs. ptr/ref generic ( #7909 )
...
* fixes #7906 , array and openarray arg vs. ptr/ref generic
* add comment
2018-06-04 17:43:15 +02:00
andri lim
25a41d5d90
fixes #7818 , correct internal representation of generic objects array construction ( #7824 )
...
* defer skiptypes
* defer skiptypes for tyRef & tyPtr
* remove unneeded skipTypes
2018-05-29 09:38:52 +02:00
andri lim
07d6ff4be4
fixes #7601 , array construction of ptr generics ( #7671 )
...
* fixes #7601 , array construction of ptr generics
* add more test
2018-04-27 21:38:15 +02:00
Oscar Nihlgård
651c0e45da
semcheck negative array length ( #7518 )
2018-04-06 17:05:28 +02:00
Araq
ef6eda4cb4
better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types
2018-02-10 20:55:21 +01:00
cooldome
51d81c4e23
Fixes #6853 ( #7188 )
...
* Fixes #6853
* Add a test for a const empty array
2018-02-10 16:44:41 +01:00
Araq
5c5e54d3a9
fixes #7153
2018-02-10 14:09:04 +01:00
Andreas Rumpf
78fb3ffeb1
fix test for bug #6989
2018-01-27 08:02:29 +01:00
Andreas Rumpf
68dfd1729e
fixes #6989
2018-01-27 07:59:40 +01:00
Fabian Keller
6df6ec27ec
Improved collection-to-string behavior ( #6825 )
2017-12-14 14:02:13 +01:00
Araq
cd6d734f8b
fixes #6692
2017-11-05 02:51:32 +01:00
Andreas Rumpf
0f5261e971
fixes #6675
2017-11-02 22:09:58 +01:00
Andreas Rumpf
b14cc1e3b2
fixes #6631
2017-10-30 14:45:57 +01:00
Andreas Rumpf
8b54db06cb
system.nim: typo
2017-10-29 21:32:42 +01:00
Andreas Rumpf
f1dab39086
remove old implementation of the roof operator; make tests green again; close #6292
2017-10-29 20:36:07 +01:00
ephja
ea47234b35
Array typedesc len ( #6032 )
2017-09-17 15:48:02 +02:00
Jacek Sieka
22684370b0
remove ArrayDummySize with unchecked arrays ( #5818 )
2017-08-28 15:44:35 +02:00
Andreas Rumpf
d1e199e0d8
make tests green again
2016-08-25 20:21:08 +02: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
5d63ecb3a4
implemented a[^1] notation
2015-03-26 02:12:38 +01:00
Araq
2a1acbd1a6
fixes #1669
2014-11-22 23:09:08 +01:00
EXetoC
e69899fb49
Fix some tests.
2014-03-31 21:38:35 +02:00
Zahary Karadjov
4f91dd40ed
msg -> errmsg
2014-03-21 00:27:28 +02:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00