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

3329 Commits

Author SHA1 Message Date
a8ea1f9d50 cgen, checker, parser: fix fixed array with channel (#18315) 2023-06-02 10:55:08 +03:00
ac6289301c ast, cgen: fix generic struct with inconsistent generic types (fix #18254) (#18301) 2023-05-30 14:24:54 +02:00
0b71cef78a cgen: fix generic comptimeselector array resolution (#18296) 2023-05-30 14:23:37 +02:00
05b832a317 cgen: fix none initialization to struct member (#18295) 2023-05-29 15:35:41 +03:00
9db10c8f61 all: coroutines (part 2) 2023-05-28 05:30:23 +02:00
2162230086 cgen: move spawn and go logic to a separate file 2023-05-28 02:52:38 +02:00
50247d5093 gen.golang: handle spawn/go 2023-05-28 02:44:47 +02:00
45f16a2640 all: coroutines (part 1) 2023-05-27 23:33:46 +02:00
16ef1d95fb cgen: fix fixed array ret with anon fn (#18279) 2023-05-27 20:42:31 +02:00
6bfa6ec93c cgen: fix comptime interpolation (#18281) 2023-05-27 20:41:40 +02:00
c2fa45c24d cgen, orm: fix typo, and wrap the fkey attribute into quotes in errors (#18266) 2023-05-25 17:27:25 +02:00
bc88183318 cgen: fix struct fn ptr call (#18260) 2023-05-25 10:52:05 +03:00
64a4a3316a checker, cgen: fix fixed array return on assigning, arg pass and dumping (#18216) 2023-05-25 02:52:45 +02:00
c45c36ccce orm: improve an fkey error a bit 2023-05-24 18:30:44 +02:00
e8046439f0 cgen: include float kind in struct field type defaults (#18228) 2023-05-24 06:50:45 +03:00
6698fe4f60 checker, cgen: fix contains() with array of interfaces (#18241) 2023-05-23 14:46:14 +02:00
37618c9465 cgen, checker: fix comptime assigning to sumtype or indexexpr (#18240) 2023-05-23 14:42:53 +02:00
e2f18fc9cc checker, cgen: fix array of interfaces index() (#18232) 2023-05-22 16:31:22 +03:00
38a155ac81 cgen: make comptime call works with or-block (#18215) 2023-05-21 15:22:40 +02:00
94217571cd parser, checker, cgen: fix swapping arrays (#18204) 2023-05-20 02:23:50 +03:00
9d9785cc05 all: allow fixed array returns (#17931) 2023-05-18 11:30:49 +02:00
1e88b1ab3e cgen: fix missing panic message for 'option not set' on debug (#18168) 2023-05-18 11:25:19 +02:00
a7f84e79f8 cgen: fix option unwrap from ovoid function (#18173) 2023-05-14 14:38:14 +03:00
d4072bfc22 cgen: fix option with multi return assign (#18174) 2023-05-14 13:50:04 +03:00
47761a42e9 all: attr for enum fields (+ json encode/decode) (#18163) 2023-05-13 01:08:30 +02:00
61a5fbea35 autofree: fix cross var assigns with strings (#18147) 2023-05-10 00:06:31 +02:00
0be74aa613 cgen: fix option ptr default struct initialization (#18141) 2023-05-09 21:40:51 +03:00
9aa5e3fe4b cgen: clean up in index_of_map() (#18145) 2023-05-09 21:12:29 +03:00
89f3288fb0 cgen: fix nested map of fn call (#18142) 2023-05-09 16:19:25 +03:00
6ac09e605e orm: allow structs without the id field, more flexible primary keys (#18140) 2023-05-09 00:21:42 +03:00
72b2f22057 cgen: fix generics array of threads with multiple types (#18137) 2023-05-08 13:24:28 +03:00
a0a8b7e47a ast, parser, checker, cgen, fmt: implement generic fn params (fix #14937) (#18126) 2023-05-07 19:53:56 +02:00
1c3af091f7 cgen, json: fix option ptr declaration and dumping (#18119) 2023-05-07 03:54:43 +03:00
2c123dffbb cgen: fix comptimeselector option propagation (#18092) 2023-05-03 08:31:48 +03:00
5631e2f01d ci,cgen,orm: fix CI failures after 9f118ba 2023-05-02 21:29:58 +03:00
9f118ba3f1 orm: skip via the "-" attribute 2023-05-02 17:00:54 +02:00
b9f5cc830b json: skip via the "-" attribute 2023-05-02 16:41:32 +02:00
d086cc26cd cgen: fix it variable casting on map call when arr is a comptime variable #18083 2023-04-30 16:18:44 +03:00
b6bbd2463c cgen: fix shared struct field initialization with default value (#18075) 2023-04-28 16:59:18 +03:00
433208ea7e native: make code generation logic platform-independant (#18057) 2023-04-28 16:00:23 +03:00
b767c7d6f5 cgen: orm: refactor, comments, simplify (#18070)
* cgen: refactor, comments, simplify

* fix: misc-tooling
2023-04-28 01:30:23 +03:00
9fb52c4c9c cgen: fix code generated for or-block for void result return function + code generated for indirection comptime checking for logical operators (#18066) 2023-04-27 17:37:29 +03:00
c63902baf0 checker, cgen: fix generic resolution for comptimeselector and indirection checking on generic funcs (#18043) 2023-04-26 22:49:50 +03:00
e1e5076d94 cgen: fix cross assign with generic fn call (#18050) 2023-04-26 20:41:20 +03:00
28f85371b1 cgen: fix comptime ptr comparison generated code (#18048) 2023-04-26 20:40:28 +03:00
4bfe270c41 wasm: add support for [export]ed functions (#18055) 2023-04-26 20:39:58 +03:00
3622544695 native: implement miscellaneous features (#18044) 2023-04-25 01:19:15 +03:00
7ac7020192 native, markused: implement -skip-unused (#18036) 2023-04-24 10:41:12 +02:00
3fb32a866c all: like operator/keyword for V ORM (#18020) 2023-04-23 03:40:54 +03:00
6f85384f7f checker, cgen: fix infering type for comptimeselector when using ptr type (#18005) 2023-04-22 11:04:08 +03:00