yuyi
|
704f38d87f
|
parser: fix multi fixed arrays init (#7996)
|
2021-01-10 06:58:31 +01:00 |
Uwe Krüger
|
cbe7740d97
|
fmt: do not generate `import` statements for auto imports (#7966)
|
2021-01-08 17:42:40 +01:00 |
yuyi
|
34c89258a4
|
cgen: fix array of array/map init (fix #7597) (#7671)
|
2020-12-29 11:50:25 +01:00 |
Swastik Baranwal
|
2795f929fa
|
checker: update check for arr=arr1 (#7651)
|
2020-12-28 18:35:34 +01:00 |
yuyi
|
9631eac9c5
|
cgen: fix `array.index()` of ref struct (#7652)
|
2020-12-28 18:33:57 +01:00 |
yuyi
|
d46b930c71
|
cgen: fix `in array_of_ref_structs` (fix #7623) (#7640)
|
2020-12-28 12:29:56 +02:00 |
yuyi
|
07459a77e3
|
cgen: fix gen_array_equality_fn() (#7633)
|
2020-12-28 12:26:50 +02:00 |
Swastik Baranwal
|
d87011ab78
|
cgen: fix generic contains method (#7618)
|
2020-12-27 20:07:53 +02:00 |
yuyi
|
132807d5d1
|
cgen: implement generic `array.index` (#7501)
|
2020-12-23 19:10:16 +01:00 |
yuyi
|
70c136441b
|
cgen: fix in array of struct error (fix #7452) (#7463)
|
2020-12-23 02:32:19 +01:00 |
yuyi
|
21cd765eaa
|
cgen: fix `in` multi_array, generate `.contains()` (fix #7427) (#7448)
|
2020-12-21 16:59:43 +01:00 |
Alexander Medvednikov
|
6bf21c300a
|
checker: do not allow arr1=arr2 without cloning
|
2020-12-20 15:33:55 +01:00 |
Alexander Medvednikov
|
875f7a77a9
|
checker: arr1=arr2 warning
|
2020-12-20 10:42:46 +01:00 |
Alexander Medvednikov
|
4a5fb854e0
|
array: vfmt array_test.v
|
2020-12-20 10:34:19 +01:00 |
yuyi
|
e4973782b1
|
cgen: fix multi_array prepend/insert (#7381)
|
2020-12-19 07:28:15 +01:00 |
LilEnvy
|
0aacc9a80a
|
array: [].map(fn...) return type can be different than original type (#7300)
|
2020-12-13 03:29:48 +01:00 |
Uwe Krüger
|
fd689f5fdd
|
cgen: optimize array op assign (#7178)
|
2020-12-07 17:13:19 +01:00 |
Enzo
|
d8b8aca51e
|
gen: fix `arr.last().field` (#7076)
|
2020-12-02 04:35:00 +01:00 |
Delyan Angelov
|
1891f55c72
|
builtin: add voidptr.vbytes(len) and byteptr.vbytes(len)
|
2020-11-27 18:18:46 +02:00 |
Alexander Medvednikov
|
f8827c3fe5
|
builtin: clone the strings correctly in array.push
|
2020-11-22 13:22:42 +01:00 |
Henrixounez
|
8152b86652
|
checker: detect correct len expression for multidimensional array init (#6521)
|
2020-10-02 03:12:33 +02:00 |
Alexander Medvednikov
|
c01d17fcc4
|
tests: fix array_test.v
|
2020-08-27 13:12:04 +02:00 |
Maciej Obarski
|
e8e0d9fa42
|
all: [direct_array_access] tag (#6203)
|
2020-08-24 09:04:50 +02:00 |
Nick Treleaven
|
bab5c21224
|
parser: warn when fixed-size ArrayInit doesn't have trailing `{}`. (#6137)
|
2020-08-16 04:54:05 +02:00 |
Alexander Medvednikov
|
f8be2110ec
|
sort: fix sorting by struct fields
|
2020-08-12 18:43:41 +02:00 |
Alexander Medvednikov
|
e5e31f7210
|
sort: handle `.sort(a.field > b.field)`
|
2020-08-12 06:11:40 +02:00 |
Alexander Medvednikov
|
4bc0dde413
|
all: new `.sort(a < b)` syntax
|
2020-08-12 05:54:51 +02:00 |
Delyan Angelov
|
cf7d03bda6
|
builtin: implement array.pop()
|
2020-07-14 20:01:39 +03:00 |
yuyi
|
fae601fe39
|
array: add `reverse_in_place` for performance (#5798)
|
2020-07-11 13:17:11 +02:00 |
yuyi
|
0c9c66dd6b
|
cgen: fix mutable array arguments (#5769)
|
2020-07-10 18:04:51 +02:00 |
yuyi
|
27149ba8bc
|
cgen: fix `in` in mutable arrays (#5647)
|
2020-07-04 12:12:44 +02:00 |
Ruofan XU
|
765ffa37eb
|
cgen: fix == for mut arraay args (#5648)
|
2020-07-04 11:36:33 +02:00 |
yuyi
|
6cbc0e84f0
|
cgen: fix cross assign with mutable args (fix #5609 #5610 #5611) (#5614)
|
2020-07-02 11:09:26 +02:00 |
yuyi
|
6c5b638202
|
parser: fix array cross assign (fix #5577) (#5591)
|
2020-07-01 12:11:03 +02:00 |
yuyi
|
d9409006fa
|
cgen: fix a[0]+='str'
|
2020-06-28 11:16:16 +02:00 |
yuyi
|
e41ddab3b0
|
test: add multiple array clone tests
|
2020-06-20 02:35:22 +02:00 |
yuyi
|
dc8b82e9a4
|
array: fix multiple array clone
|
2020-06-19 13:32:55 +02:00 |
yuyi
|
930c3d73c1
|
cgen: fix `arr.insert(0, [1,2,3])` and `arr.prepend([1,2,3])`
|
2020-06-18 12:08:11 +02:00 |
yuyi
|
3f01e2b796
|
cgen: fix array.insert and arr.prepend
|
2020-06-18 00:22:34 +02:00 |
yuyi
|
b4ad174b7f
|
array: fix multiple array.repeat index error
|
2020-06-12 11:42:26 +02:00 |
yuyi
|
ff1437fc5a
|
cgen: fix multi_array index issue
|
2020-06-12 01:24:25 +02:00 |
yuyi
|
acf0b84523
|
cgen: fix array.filter(anon_fn)
|
2020-06-10 13:18:59 +02:00 |
yuyi
|
12faf9fcfa
|
cgen: fix multiple array.map(anon_fn) calls
|
2020-06-10 13:18:45 +02:00 |
yuyi
|
85c741519b
|
cgen: fix array.map(fn...)
|
2020-06-09 12:50:56 +02:00 |
yuyi
|
d472a27489
|
cgen: fix array.map(anon_fn)
|
2020-06-09 10:14:10 +02:00 |
Enzo Baldisserri
|
11b7b97311
|
parser: fail when assigning to _ with :=
|
2020-06-08 00:47:04 +02:00 |
yuyi
|
5ae8853648
|
all: change `f mut Foo` to `mut f Foo`
|
2020-06-04 10:35:40 +02:00 |
yuyi
|
84edbd83da
|
all: fix struct names error
|
2020-05-27 19:12:34 +03:00 |
Uwe Krüger
|
013fdb8a4b
|
checker: restrict numeric promotions to cases where no data is lost
|
2020-05-27 05:42:48 +02:00 |
yuyi
|
dda875a9c8
|
all: unify const names to snake_case
|
2020-05-22 17:36:09 +02:00 |