Delyan Angelov
|
31c234485a
|
cgen: split keys and values in generated new_map_init calls into separate lines
|
2022-05-25 10:26:17 +03:00 |
yuyi
|
5ade39f8db
|
cgen: fix sizeof('str') and sizeof(r'str') (#14507)
|
2022-05-24 05:14:38 +03:00 |
yuyi
|
4ef9e2c05a
|
parser: fix sizeof(c'str') (fix #14499) (#14502)
|
2022-05-23 01:59:39 +03:00 |
Daniel Däschle
|
5e95bdc451
|
checker: allow but deprecate propagating result as option (#14500)
|
2022-05-23 00:11:29 +03:00 |
Daniel Däschle
|
d3ffd983c8
|
markused: add _result_ok (#14495)
|
2022-05-22 14:52:38 +03:00 |
Delyan Angelov
|
c0dcc80e18
|
cgen: support `-profile -` for _test.v files too
|
2022-05-21 10:59:01 +03:00 |
Daniel Däschle
|
efc5cab8c3
|
checker,cgen: allow result if guard (#14474)
|
2022-05-20 19:34:53 +03:00 |
Alexander Medvednikov
|
53c217fe5e
|
cgen: do not generate `_vinit()` for translated .o code
|
2022-05-20 19:28:37 +03:00 |
Vincenzo Palazzo
|
17bba712bd
|
checker: ban unsafe pointer/fn comparison (#14462)
|
2022-05-20 18:30:16 +03:00 |
StunxFS
|
11bdb04d0c
|
json: fix struct field default value support (#14304)
|
2022-05-20 11:22:17 +03:00 |
crthpl
|
95d24e543d
|
checker, cgen: fix shared non-decl assignment (#14466)
|
2022-05-20 02:58:11 +03:00 |
yuyi
|
55e7daa2f9
|
cgen: simplify auto_str_methods.v (#14463)
|
2022-05-19 22:29:15 +03:00 |
crthpl
|
46f94e8d68
|
cgen: fix autostr of shared fields (#14455)
|
2022-05-19 17:00:27 +03:00 |
Daniel Däschle
|
a52fbc5e51
|
checker: forbid optional variable (#14460)
|
2022-05-19 16:04:44 +03:00 |
yuyi
|
3291c59ebf
|
cgen: minor cleanup in auto_str_methods.v (#14461)
|
2022-05-19 14:02:07 +03:00 |
yuyi
|
4cbfa884c5
|
cgen: fix another error for 'in array of sumtype' (#14448)
|
2022-05-18 14:39:35 +03:00 |
yuyi
|
417a6dc506
|
cgen: fix error for 'in array of sumtype' (#14444)
|
2022-05-18 08:51:31 +03:00 |
spaceface
|
b5fb848508
|
cgen: reduce the closure memory usage (#14437)
|
2022-05-18 02:34:51 +03:00 |
Alexander Medvednikov
|
2a06290ac7
|
cgen: fix eq generation for translated code
|
2022-05-17 15:30:05 +03:00 |
yuyi
|
020845f6c3
|
cgen: fix alias of array that has builtin method (#14432)
|
2022-05-17 12:26:26 +03:00 |
yuyi
|
60e817ff32
|
cgen: minor optimization in index_of_array/map() (#14429)
|
2022-05-17 12:08:44 +03:00 |
Alexander Medvednikov
|
d10f83ce15
|
cgen: fix c2v struct eq
|
2022-05-17 03:39:48 +03:00 |
Delyan Angelov
|
9cb8bb2968
|
Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)""
This reverts commit e5c7fe3006 .
|
2022-05-16 21:29:47 +03:00 |
yuyi
|
c624de8523
|
cgen: fix struct field array index error (#14417)
|
2022-05-16 19:37:39 +03:00 |
Delyan Angelov
|
e5c7fe3006
|
Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"
This reverts commit 36bec823c2 .
|
2022-05-16 14:19:33 +03:00 |
yuyi
|
d59f4e9479
|
ast, cgen: fix generic method with variadic generic argument (#14404)
|
2022-05-16 12:26:38 +03:00 |
yuyi
|
0ab4133128
|
cgen: minor cleanup in struct_init() (#14405)
|
2022-05-16 12:22:51 +03:00 |
spaceface
|
36bec823c2
|
checker: allow using methods as vars when expecting a ctx arg (#14414)
|
2022-05-16 12:05:08 +03:00 |
spaceface
|
c01a8a1737
|
checker,gen: allow using methods as function pointers (#14407)
|
2022-05-15 18:28:37 +03:00 |
crthpl
|
e4065bd57b
|
checker,cgen: fix if expressions in lock expression (#14384)
|
2022-05-15 12:31:07 +03:00 |
yuyi
|
fe9f97074b
|
cgen: fix appending struct to interface array (#14388)
|
2022-05-14 17:49:42 +03:00 |
yuyi
|
3c95504a35
|
checker, cgen: fix generic fn with array and fixed array arguments (#14385)
|
2022-05-13 06:57:48 +03:00 |
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
spaceface
|
49382f1f43
|
gen: make the closure implementation more performant (#14352)
|
2022-05-12 00:05:14 +03:00 |
yuyi
|
5697d4375b
|
cgen: fix error for printing aliases of multi fixed array (#14348)
|
2022-05-10 14:03:18 +03:00 |
yuyi
|
b04d46770b
|
ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333)
|
2022-05-07 20:22:20 +03:00 |
yuyi
|
724e7f037a
|
cgen: fix error for if cond with optional expr (#14334)
|
2022-05-07 20:20:00 +03:00 |
Alexander Medvednikov
|
14f06ead1b
|
cgen: fix c2v consts; enum_decl()
|
2022-05-07 00:58:37 +03:00 |
Hunam
|
0699f324b5
|
builtin: add `map.values()` (#14301)
|
2022-05-06 20:42:01 +03:00 |
Daniel Däschle
|
76cdf75299
|
builtin,cgen: rename `Option` to `_option` (#14317)
|
2022-05-06 19:25:54 +03:00 |
Ned
|
76a7354506
|
builtin: add libbacktrace as option for generating stack traces (#14277)
|
2022-05-04 21:17:05 +03:00 |
yuyi
|
f321422964
|
checker, cgen: check comptime selector that has no field name (#14282)
|
2022-05-04 07:06:52 +03:00 |
yuyi
|
3732db2bcc
|
cgen: cleanup in gen_array_contains_methods() (#14274)
|
2022-05-03 20:46:07 +03:00 |
yuyi
|
276bd8060c
|
cgen: fix error for fixed array in operate (#14269)
|
2022-05-03 12:45:04 +03:00 |
Delyan Angelov
|
0e5c1cee48
|
builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250)
|
2022-05-03 09:17:53 +03:00 |
spaceface
|
db185598d2
|
checker: refactor comptime_if_branch (#14259)
|
2022-05-02 22:24:20 +03:00 |
playX
|
afbe6bf3a2
|
cgen: fix const decl gen when translated (#14255)
|
2022-05-02 15:01:59 +03:00 |
yuyi
|
968d2b4654
|
cgen: fix fixed array init with `it` (#14251)
|
2022-05-02 02:00:45 +03:00 |
spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
Daniel Däschle
|
ec92d467d1
|
cgen: fix unsafe return error (#14233)
|
2022-04-30 17:31:28 +03:00 |