Delyan Angelov
|
fb09333a73
|
ci: fix interface table generation for vlib/io/os_file_reader_test.v with -cflags "-Werror"
|
2021-02-16 23:36:44 +02:00 |
Delyan Angelov
|
843de10442
|
parser,gen: fix `arr << map[key] using map_get_and_set_1, leading to double free
|
2021-02-16 16:39:31 +02:00 |
yuyi
|
982e35909d
|
cgen: fix `mut` var in `for` loop reads as address (fix #8548) (#8745)
|
2021-02-16 13:24:19 +01:00 |
yuyi
|
a9c2045dbd
|
cgen: fix var name clash of array/map (fix #1994) (#8765)
|
2021-02-15 15:51:57 +02:00 |
spaceface
|
e3649ec4d3
|
all: implement `type_name()` for interfaces too (#8767)
|
2021-02-15 15:29:44 +02:00 |
Delyan Angelov
|
0b60510c9c
|
cgen: cleanup generating helper comments with -skip-unused
|
2021-02-13 10:31:48 +02:00 |
yuyi
|
67c6f24c84
|
cgen: format match_expr (#8692)
|
2021-02-12 03:37:31 +01:00 |
yuyi
|
3164e29651
|
all: fix fn_or_for_in mut value (part 1) (#8671)
|
2021-02-12 02:03:11 +02:00 |
zakuro
|
f371803a32
|
cgen: move comp_if_to_ifdef to comptime.v (#8668)
|
2021-02-11 01:22:49 +01:00 |
yuyi
|
95c3ef3a6a
|
cgen: minor cleanup in stmt() (#8659)
|
2021-02-09 23:00:43 +01:00 |
Uwe Krüger
|
f3c5f24c17
|
allow `lock` expression to return multiple objects (#8657)
|
2021-02-09 17:09:10 +02:00 |
Delyan Angelov
|
5308b63a01
|
ci: fix the `-cflags "-Werror"` job, by explicit casting to `void**`
|
2021-02-09 14:22:51 +02:00 |
Delyan Angelov
|
3d2afcf02e
|
cgen: fix gohandle_name generation (use .cname)
|
2021-02-09 12:55:05 +02:00 |
Alexander Medvednikov
|
bfee8a528c
|
cgen: add "case" to c_reserved
|
2021-02-09 03:49:19 +01:00 |
Swastik Baranwal
|
09cff69919
|
all: allow using aliases as keys in map (#8589)
|
2021-02-08 18:51:05 +01:00 |
Lukas Neubert
|
5abd49d9bc
|
cgen: cast default struct field value to correct SumType/interface (#8619)
|
2021-02-08 17:33:05 +02:00 |
Nick Treleaven
|
e2ff2a5405
|
parser: deprecate `{var |` struct update (#8618)
|
2021-02-08 17:03:05 +02:00 |
zakuro
|
e5839effbc
|
checker/cgen: allow `<<` operator for aliases (#8561)
|
2021-02-08 01:41:47 +01:00 |
Uwe Krüger
|
118ca1240e
|
all: allow `shared` element types for `struct` and arrays (#8631)
|
2021-02-08 00:28:29 +01:00 |
Lukas Neubert
|
7f4c582f1a
|
fmt: unwrap long infix exprs inside parenthesis if necessary (#8609)
|
2021-02-07 23:10:39 +01:00 |
yuyi
|
81e8c3bc1b
|
cgen: minor optimization in infix_expr (#8625)
|
2021-02-07 17:22:54 +01:00 |
Delyan Angelov
|
d77bb2f606
|
all: improve -skip-unused, track consts, walk all AST nodes, support tests
|
2021-02-07 02:51:45 +02:00 |
Uwe Krüger
|
5343f1374b
|
all: allow functions to return `shared` object (#8606)
|
2021-02-06 19:41:52 +01:00 |
zakuro
|
fe9d062b41
|
gen: fix bug where unreached defer is executed (#8594)
|
2021-02-06 18:40:39 +02:00 |
Swastik Baranwal
|
9b839b3b7d
|
cgen: fix gen of `>` operator overloading (#8600)
|
2021-02-06 12:59:20 +02:00 |
Uwe Krüger
|
ab279dace7
|
cgen: support `shared` initialization from call returning optional (#8593)
|
2021-02-06 03:07:05 +01:00 |
Delyan Angelov
|
e5c9fcb7e9
|
ci: fix building vdoc, vls, etc
|
2021-02-05 09:27:14 +02:00 |
Alexander Medvednikov
|
1084b43ffb
|
all: ast walker for marking unused fns
|
2021-02-05 08:05:35 +01:00 |
Delyan Angelov
|
119dfc0bb0
|
all: support map[f32]string and map[f64]string (float map keys) too (#8556)
|
2021-02-04 23:59:49 +01:00 |
Louis Schmieder
|
97c0ef3505
|
orm: struct field support (#8517)
|
2021-02-04 20:28:33 +01:00 |
Uwe Krüger
|
112c652ace
|
cgen: auto initialize `chan` that are struct elements (#8541)
|
2021-02-04 00:07:20 +01:00 |
Uwe Krüger
|
f013e65670
|
checker/cgen: support lock expressions `x := rlock s { s.get() }` (#8540)
|
2021-02-03 23:56:58 +01:00 |
Uwe Krüger
|
cee00a3551
|
cgen: create enclosing block on C side for V `lock` blocks (#8538)
|
2021-02-03 23:25:01 +01:00 |
Uwe Krüger
|
2424e2cb02
|
cgen: fix for `rlock`/`lock` handling (#8536)
|
2021-02-03 17:33:18 +01:00 |
Swastik Baranwal
|
7ec116d588
|
all: only allow defining `==` and `<` and auto generate `!=`, `>`, `>=` and `<=` (#8520)
|
2021-02-03 15:18:38 +01:00 |
Uwe Krüger
|
9dcf673216
|
all: make `lock` and `rlock` dead lock free :-) (#8534)
|
2021-02-03 15:16:52 +01:00 |
yuyi
|
7875164d91
|
cgen: add gen_alias_equlity_fn (#8514)
|
2021-02-02 18:37:57 +01:00 |
joe-conigliaro
|
ffedbe4b81
|
cgen: move cgen from v.gen to v.gen.c (#8515)
|
2021-02-02 15:41:51 +01:00 |