summary refs log tree commit diff stats
path: root/tests/array
Commit message (Collapse)AuthorAgeFilesLines
* style usages part one (openarray => openArray) (#19321)flywind2022-01-041-1/+1
| | | | | * style usages (openArray) * revert doc changes
* fixes #18643 [backport:1.0] (#18678)Andreas Rumpf2021-08-121-0/+11
|
* Fix array's high & low return type for empty arrays (#17705)Tanguy Cizain2021-04-151-0/+7
| | | | | | | | | * 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>
* typeToString: type float => typedesc[float] (#17011)Timothee Cour2021-02-121-2/+2
| | | | | | | * typeToString: type float => typedesc[float] * fixup * fix tests
* use typeof instead type (#16962)flywind2021-02-081-5/+5
|
* fix #16025 repr now consistent: does not insert trailing newline (#16034)Timothee Cour2020-11-191-3/+0
|
* disallow typedesc in arrays & move existing checks to `types.typeAllowedAux` ↵Neelesh Chandola2020-05-291-0/+11
| | | | | | (#13261) * disallow typedesc in arrays and move previous checks to types.typeAllowedAux
* guards.nim:sameTree(): handle uint literals correctly (#12483) [backport]Paul Tan2019-10-221-0/+8
|
* fixes #8316 (#11673)Andreas Rumpf2019-07-061-0/+25
|
* literal array indices (#11424)Jasper Jenkins2019-06-184-0/+25
|
* close #3899 by adding test case (#10424)Vindaar2019-01-231-0/+10
|
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-081-1/+1
| | | | | | | | | | | | | 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
* testament: joinable is now an explicit concept of a test specAndreas Rumpf2018-12-111-0/+1
|
* megatest can be executedArne Döring2018-12-111-1/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-113-8/+3
|
* language cleanup: the .unchecked pragma is deadAraq2018-11-061-1/+1
|
* Relax the restrictions on the index types (#9412)LemonBoy2018-10-181-3/+6
|
* fixes a regression about indexing into UncheckedArrayAndreas Rumpf2018-10-161-0/+4
|
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-1213-566/+529
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-301-1/+13
|
* fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)andri lim2018-06-041-27/+114
| | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment
* fixes #7818, correct internal representation of generic objects array ↵andri lim2018-05-291-0/+45
| | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes
* fixes #7601, array construction of ptr generics (#7671)andri lim2018-04-272-0/+68
| | | | | | * fixes #7601, array construction of ptr generics * add more test
* semcheck negative array length (#7518)Oscar Nihlgård2018-04-061-0/+4
|
* better error messages: use <T1, T2> instead of (T1, T2) in order to prevent ↵Araq2018-02-101-1/+1
| | | | confusions with tuple types
* Fixes #6853 (#7188)cooldome2018-02-101-0/+8
| | | | | * Fixes #6853 * Add a test for a const empty array
* fixes #7153Araq2018-02-101-0/+18
|
* fix test for bug #6989Andreas Rumpf2018-01-272-5/+4
|
* fixes #6989Andreas Rumpf2018-01-271-0/+104
|
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-1/+1
|
* fixes #6692Araq2017-11-051-0/+46
|
* fixes #6675Andreas Rumpf2017-11-021-1/+7
|
* fixes #6631Andreas Rumpf2017-10-301-1/+25
|
* system.nim: typoAndreas Rumpf2017-10-291-0/+2
|
* remove old implementation of the roof operator; make tests green again; ↵Andreas Rumpf2017-10-294-76/+3
| | | | close #6292
* Array typedesc len (#6032)ephja2017-09-171-0/+18
|
* remove ArrayDummySize with unchecked arrays (#5818)Jacek Sieka2017-08-281-0/+5
|
* make tests green againAndreas Rumpf2016-08-251-2/+2
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-047-46/+46
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* implemented a[^1] notationAraq2015-03-264-0/+91
|
* fixes #1669Araq2014-11-221-1/+8
|
* Fix some tests.EXetoC2014-03-311-1/+1
|
* msg -> errmsgZahary Karadjov2014-03-211-1/+1
|
* new tester; all tests categorizedAraq2014-01-137-0/+155
'>863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290