1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

14973 Commits

Author SHA1 Message Date
yuyi
71c3b66ecf
datatypes: fix linked list of map (fix #17570) (#17573) 2023-03-09 14:26:01 +01:00
Felipe Pena
d353dd6e8a
cgen: fix selector accessing field (#17567) 2023-03-09 14:24:43 +01:00
yuyi
737e7f6410
cgen: fix generic array of alias (#17571) 2023-03-09 13:57:14 +01:00
Felipe Pena
638805be63
cgen: fix code for unwrap option on print (#17545) 2023-03-08 20:55:19 +01:00
Felipe Pena
785546f277
json2: fix decode result with option fields (#17561) 2023-03-08 20:54:28 +01:00
Felipe Pena
b19052949f
cgen: fix array initialization with options (#17562) 2023-03-08 20:54:00 +01:00
Felipe Pena
a0b3379d4a
cgen: fix fn option-only return print (#17547) 2023-03-08 20:53:23 +01:00
Felipe Pena
e253256c30
cgen: fix option unwrap on assignment (#17551) 2023-03-08 20:52:24 +01:00
ChAoS_UnItY
ae6a48c0e3
all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
Felipe Pena
2597efa7f6
cgen: fix struct initialization with option value (#17539) 2023-03-07 23:53:56 +03:00
Felipe Pena
b4f0bb247d
cgen: fix default initialization of option array with none values (#17536) 2023-03-07 23:53:07 +03:00
yuyi
b6c4e88462
checker: check error of casting to interface (fix #17522) (#17531) 2023-03-07 23:49:53 +03:00
Felipe Pena
b85f71d00f
cgen: fix default init value for an array of option (#17538) 2023-03-07 20:04:16 +02:00
Felipe Pena
792b822091
cgen: fix dump(option_value) inside a generic function (#17537) 2023-03-07 18:13:19 +02:00
Felipe Pena
32751440b6
checker: fix missing check for none type on or block on non-option (#17529) 2023-03-07 18:11:03 +02:00
Felipe Pena
68cab00ded
cgen: fix or-block with return void statement (#17527) 2023-03-07 15:01:46 +01:00
Felipe Pena
9826310882
cgen: fix struct initialization for nested option struct (fix #17524) (#17525) 2023-03-07 09:30:45 +01:00
Felipe Pena
1e416de627
checker: fix const init with comptime (#17528) 2023-03-07 09:15:46 +01:00
Ikko Eltociear Ashimine
784592af83
os: fix typo in os.v (#17519) 2023-03-07 08:30:37 +01:00
ChAoS_UnItY
6e670ec908
v: support interface field compile time reflection (#17503) 2023-03-07 08:52:40 +02:00
Alexander Medvednikov
d7a418fbb5 pref: no-skip-unused 2023-03-06 14:13:29 +01:00
yuyi
65a627d72b
checker: allow aa := AA{}, when AA has an option field, that is a struct, that has a [required] tag on its fields (#17516) 2023-03-06 10:16:05 +02:00
Wertzui123
77b6bc1c1a
net.websocket: fix a typo (allready -> already) (#17512) 2023-03-06 10:05:17 +02:00
Felipe Pena
7de3485bd2
cgen: fix multi return with option type (#17489) 2023-03-05 11:41:19 +01:00
Petr Makhnev
c1f249af6c
test: handle compilation errors when running tests specially in the teamcity runner (#17511) 2023-03-05 10:14:23 +02:00
Petr Makhnev
1a48d08d7a
cgen: add calls to all typeof functions for interfaces and sum-types (#17490) 2023-03-04 14:59:00 +02:00
Tim Marston
3f8821b8d8
cgen: unwrap and c-mangle field selectors in or blocks (#17495) 2023-03-04 11:52:08 +02:00
yuyi
6944d54257
parser, cgen: fix option variable error (fix #17460) (#17479) 2023-03-04 11:47:49 +02:00
yuyi
30c205ef2c
cgen: fix printing map reference value (#17496) 2023-03-04 11:35:38 +02:00
l-m
6f7192359a
wasm: bug fixes and memory based changes (#17497) 2023-03-04 11:24:33 +02:00
Felipe Pena
72cbca9653
checker: fix and improve return stmt error messages (#17477) 2023-03-04 09:32:55 +02:00
Felipe Pena
c5832379e7
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
Alexander Medvednikov
0ba0fb256f checker: check the type of SizeOf 2023-03-03 18:45:18 +01:00
Petr Makhnev
3c23a7ebba
roadmap: tooling and web section for 1.0 (#17488) 2023-03-03 15:34:37 +01:00
Alexander Medvednikov
7876593eaf roadmap: 1.0 2023-03-03 14:58:49 +01:00
walking devel
5454562d2c
checker, parser, orm: remove redundant & for sum type value arguments to functions with expr &ast.Expr parameters (#17482) 2023-03-03 14:35:12 +02:00
l-m
9c9adb125b
doc: ignore builtin/wasm (#17480) 2023-03-03 12:35:21 +02:00
walking devel
5e2ff246c8
cgen: pass sum type values automatically by reference too, when functions require that (#17476) 2023-03-03 09:11:15 +02:00
Felipe Pena
904f984367
checker: fix or-block expected type checking (#17469) 2023-03-03 08:30:44 +02:00
Wertzui123
e8dbcd96bd
readme: minor improvements (#17474) 2023-03-03 08:28:07 +02:00
yuyi
17000ef7b6
checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
Felipe Pena
8f7c35552d
fmt: fix formatting for $compile_warn (#17450) 2023-03-02 15:40:53 +02:00
Delyan Angelov
9fc2860074
checker: fix compiler panic for for k, mut val in app.field[x].values { (#17468) 2023-03-02 15:40:14 +02:00
Samuel Šulovský
7497d8457f
docs: fix incorrect struct literal and interface smart cast errors (#17457) 2023-03-02 13:31:12 +02:00
Delyan Angelov
e2daa84a33
ci: add windows and macos jobs for checking the wasm backend too (#17451) 2023-03-01 21:53:03 +02:00
l-m
cdc0159c6e
wasm: update the compile flags in binaryen.c.v to assist darwin (#17449) 2023-03-01 14:21:08 +02:00
Felipe Pena
bba7cfee0b
checker: check or-block used on non-option value (#17444) 2023-03-01 02:08:18 +02:00
walking devel
3682a9cf88
orm: allow use of mut db orm.Connection (#17439) 2023-03-01 00:49:30 +02:00
Felipe Pena
5f4b34ef12
eval: add host API, for passing and receiving values, to/from code, ran by the eval.Eval instances (#17426) 2023-03-01 00:42:19 +02:00
Haren S
acfd21e4e0
os: add #include <sys/types.h> to debugger_darwin.c.v, to fix bootstrapping on macOS <= 11 (#17446) 2023-03-01 00:06:12 +02:00