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

1388 Commits

Author SHA1 Message Date
crthpl
8361f714dd cgen: fix deadlock when returning/breaking in lock (#10079) 2021-05-12 11:44:47 +03:00
Alexander Medvednikov
72a135c7c5 vweb: update vweb_test_server.v 2021-05-11 09:52:08 +03:00
Louis Schmieder
23513ae35c v.parser: fix vfmt eating the file name in $tmpl('non_existant_file') (#10056) 2021-05-08 21:11:13 +03:00
Uwe Krüger
d26ac5692e all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
Delyan Angelov
13ea92a77d ci: use hash.fnv1a.sum64_string instead of hash.sum64_string in Parser.set_path (fix sanitize jobs) 2021-05-07 11:20:13 +03:00
Delyan Angelov
ea74e2bc64 v.parser: add p.unique_prefix, add run_project_folders_test.v (closes #10023) 2021-05-06 21:14:19 +03:00
zakuro
8c44873674 fmt,parser: prevent unknown module error (#10004) 2021-05-05 14:09:30 +03:00
Lukas Neubert
9e717e02c9 parser, fmt: prevent error with comment after expr inside match (#9995) 2021-05-04 18:26:10 +03:00
zakuro
1e856c0f94 parser: improve error message for mod.unknownsubmod.Type (#9976) 2021-05-04 11:31:31 +03:00
Enzo
106cd384da parser: remove obsolete exceptions (#9987) 2021-05-03 17:35:09 +03:00
yuyi
ae22967d1d parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
Delyan Angelov
4b818fa2be v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
Alexander Medvednikov
e949d4b26c tools/fast: add "V lines" and "V lines/s" 2021-04-30 15:31:50 +03:00
yuyi
d236d6a473 parser, cgen: fix generics fn typeof name (fix #7357) (#9939) 2021-04-30 13:40:36 +03:00
Lukas Neubert
b406de20df parser, vfmt: multi line comments are not treated as follow-up comments anymore (#9892) 2021-04-29 09:48:08 +03:00
yuyi
25d9272c84 all: rename table.register_fn_generic_types to table.register_fn_concrete_types (#9914) 2021-04-29 09:06:50 +03:00
crthpl
6945f987cf checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
Lukas Neubert
a065d014a2 fmt: keep constant sizes in struct field fixed array types (#9910) 2021-04-28 22:11:15 +03:00
ka-weihe
3edbf71770 parser: fix maps with aliases as key (#9900) 2021-04-28 07:45:21 +03:00
Enzo
4f246222b0 v: replace --enable-globals with -enable-globals (#9898) 2021-04-28 07:44:28 +03:00
Louis Schmieder
faf2656335 orm: support multiline statements (#9888) 2021-04-27 15:28:57 +03:00
Uwe Krüger
787a63dab6 cgen: execute defer block *after* return expression is evaluated (#9893) 2021-04-27 01:42:16 +03:00
Enzo
4eb8072882 parser: remove ++/-- exception for some modules (#9895) 2021-04-27 01:41:42 +03:00
Lukas Neubert
181b0f1035 parser: improve error message for missing db expr in ORM (#9890) 2021-04-26 19:51:51 +03:00
yuyi
212b4fa089 parser: implement infering generic type parameters from receiver types (fix #5862) (#9870) 2021-04-26 10:56:08 +03:00
spaceface
9d68f924c3 parser: don't disallow closures in the JS backend (#9884) 2021-04-26 10:00:39 +03:00
spaceface
7acb48df83 parser: parse JS. interfaces properly (#9876) 2021-04-26 09:58:05 +03:00
Uwe Krüger
3c0a368af3 all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
Louis Schmieder
fc3b628440 v: support $for attr in Test.attributes (#9836) 2021-04-25 18:29:26 +03:00
yuyi
8ccdae6188 all: cleanup generics call_expr (#9856) 2021-04-24 09:44:15 +03:00
Enzo
af8ef12990 ast: use AttrKind (#9845) 2021-04-23 15:51:52 +03:00
yuyi
dd2002cc57 cgen: fix generics with multi generics struct receiver (#9853) 2021-04-23 15:17:57 +03:00
Alexander Medvednikov
c7a6d28e13 all: improve unused variable warning (fix x = 1, x += 1 etc) 2021-04-23 13:33:48 +03:00
Lukas Neubert
aa40dfc1de checker: check __global type (#9804) 2021-04-23 12:28:08 +03:00
Louis Schmieder
c026d8b6f3 parser: number attributes (#9835) 2021-04-22 18:21:55 +03:00
yuyi
431d806dcf ast, parser: cleanup of generic structs (#9839) 2021-04-22 18:21:01 +03:00
yuyi
51258923d7 checker: fix generics call with reference arg (fix #9817 #9818) (#9830) 2021-04-21 06:40:11 +03:00
yuyi
953057ef35 parser: check generic receiver method decl has no generic names (fix parts of #9811) (#9819) 2021-04-20 21:38:17 +03:00
Lukas Neubert
2df260acbb parser: fix last_line of no body C struct (#9809) 2021-04-20 21:37:00 +03:00
Delyan Angelov
d4f31412b7 v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
Lukas Neubert
70c651ff17 all: make __global behave consistent with const (#9711) 2021-04-19 17:07:47 +03:00
spaceface
73352583e7 ci: fix all -cstrict warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
yuyi
3158617ce2 parser: simplify parse_generic_struct_inst_type() (#9801) 2021-04-19 14:47:39 +03:00
涂紳騰(Shen-Teng Tu)
3c72c6abc2 parser: disable template variables in <style> (#9777) 2021-04-17 15:47:36 +03:00
Uwe Krüger
1b0f099552 parser: fix handling of - inside array literals (#9771) 2021-04-17 02:37:17 +03:00
涂紳騰(Shen-Teng Tu)
d9fdae1de9 parser: escape js template literal syntax inside <script> tags (#9738) 2021-04-15 12:39:39 +03:00
yuyi
466dc4540b all: minor cleanup of generics (#9744) 2021-04-15 11:00:23 +03:00
yuyi
1250ce4353 cgen: fix generics with embed generics (fix #8694) (#9724) 2021-04-15 01:44:11 +02:00
Lukas Neubert
f4c8f897fe parser: proper unexpected eof errors in const declarations (#9712) 2021-04-15 01:31:49 +02:00
crthpl
0099458c0a all: small asm fixes and number labels (#9730) 2021-04-15 01:30:23 +02:00