yuyi
|
9be596ef12
|
checker: fix generic struct with anon fn type (#10161)
|
2021-05-21 17:21:18 +03:00 |
yuyi
|
87ded1784e
|
checker: a minor optimization in file_has_main_fn() (#10143)
|
2021-05-21 06:14:57 +03:00 |
Lukas Neubert
|
f7cd95472a
|
checker: clarify duplicate import error (#10150)
|
2021-05-21 06:12:38 +03:00 |
yuyi
|
bf69d20353
|
checker: fix generic struct with anon fn parameter (#10147)
|
2021-05-20 16:57:27 +03:00 |
yuyi
|
492d264d08
|
checker: fix generic structs init (#10134)
|
2021-05-20 09:18:51 +03:00 |
Enzo
|
906b207e58
|
checker: deprecate using V strings in C function calls (#10140)
|
2021-05-20 09:17:44 +03:00 |
Alexander Medvednikov
|
f09a5135e9
|
checker: handle builtin enum init correctly
|
2021-05-20 03:14:32 +03:00 |
crthpl
|
0d44c8857e
|
checker: fix position of unknown type errors (#10110)
|
2021-05-16 04:51:23 +03:00 |
Alexander Medvednikov
|
ed6ad728d9
|
vweb: fix serving static files
|
2021-05-16 04:28:14 +03:00 |
Delyan Angelov
|
9fa805cbbf
|
v.checker: workaround for `./v wipe-cache && ./v -usecache self && ./v -usecache examples/hello_world.v` errors.
|
2021-05-15 09:15:20 +03:00 |
Uwe Krüger
|
7bfd89567b
|
shared: support `lock` on SelectorExpression (#10105)
|
2021-05-15 04:34:27 +03:00 |
yuyi
|
ebe58dcafa
|
checker: cleanup generic structs (#10086)
|
2021-05-12 19:57:14 +03:00 |
Delyan Angelov
|
cf3dd7a51f
|
v.checker: fix `unused variable` warning on `*p = val`
|
2021-05-12 18:03:01 +03:00 |
crthpl
|
8361f714dd
|
cgen: fix deadlock when returning/breaking in `lock` (#10079)
|
2021-05-12 11:44:47 +03:00 |
Delyan Angelov
|
9f27cf5b21
|
checker: cleanup missed eprintln
|
2021-05-11 14:00:48 +03:00 |
Delyan Angelov
|
6450fda938
|
ci: fix compiling blog/, *and* comptime_if_is_test.v. Add vweb_app_test.v .
|
2021-05-11 13:59:08 +03:00 |
Delyan Angelov
|
63cb04196b
|
Revert "ci: fix compiling comptime_if_expr_test.v"
This reverts commit c5285e7217 .
|
2021-05-11 13:47:49 +03:00 |
Delyan Angelov
|
c5285e7217
|
ci: fix compiling comptime_if_expr_test.v
|
2021-05-11 13:15:53 +03:00 |
Alexander Medvednikov
|
0bc80951e3
|
checker: fix `T is int`
|
2021-05-11 10:28:11 +03:00 |
Alexander Medvednikov
|
0b75a21aab
|
checker: fix a typo
|
2021-05-11 09:48:39 +03:00 |
Alexander Medvednikov
|
0f28ff4c8d
|
tests: a minor grammar fix
|
2021-05-11 09:47:09 +03:00 |
Alexander Medvednikov
|
dc034d9b16
|
vweb: make thread safe; checker: `$if T is Interface {`
|
2021-05-11 09:30:18 +03:00 |
yuyi
|
3b062388ba
|
checker: minor cleanup in check_files() (#10075)
|
2021-05-11 03:43:26 +03:00 |
yuyi
|
74defc4b82
|
checker: minor cleanup of FnDecl (#10000)
|
2021-05-09 15:27:45 +03:00 |
Delyan Angelov
|
21f207e781
|
v.checker: use more concise error messages (remove please)
|
2021-05-08 22:32:18 +03:00 |
spaceface
|
ef7454b5e2
|
checker: fix calling functions with variadic interface parameters (#10052)
|
2021-05-08 22:26:13 +03:00 |
Delyan Angelov
|
c16d4911c2
|
v.checker: deprecate `$if linux_or_macos {` in favor of `$if linux || macos {`
|
2021-05-08 21:00:21 +03:00 |
Delyan Angelov
|
cbf30bd13a
|
checker: fix regression for generics_test.v
|
2021-05-08 18:23:12 +03:00 |
yuyi
|
ed7c8d5e19
|
checker: fix generics return recursive generic struct (fix #10028) (#10031)
|
2021-05-08 14:33:09 +03:00 |
yuyi
|
3dfbd2351b
|
checker,cgen: fix generics with generic_fn type parameter (#10022)
|
2021-05-08 14:06:56 +03:00 |
El Koulali András
|
262ef7598d
|
checker: fix unchecked optional in match condition (#10041)
|
2021-05-08 13:33:13 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |
yuyi
|
7c58dfb88b
|
checker: fix for_in mut var unused warning (#10008)
|
2021-05-05 14:11:32 +03:00 |
Louis Schmieder
|
b8e070b2a1
|
orm: fix multi substructs (#9941)
|
2021-05-04 12:35:18 +03:00 |
Ned Palacios
|
177f8f585b
|
checker: fn_call fixes (#9994)
|
2021-05-04 12:31:32 +03:00 |
yuyi
|
1d045e5496
|
checker: check generics fn called outside of generic fn (#9984)
|
2021-05-03 19:50:08 +03:00 |
yuyi
|
ddc003380c
|
checker: check generics fn that return generic struct (#9979)
|
2021-05-03 19:48:54 +03:00 |
yuyi
|
035fd052d1
|
checker: check generic struct declaration (fix #9974) (#9978)
|
2021-05-03 19:47:02 +03:00 |
Delyan Angelov
|
ae898e77c5
|
v.markused: handle interface implementation methods, and vweb programs
|
2021-05-03 18:40:39 +03:00 |
Enzo
|
fb7ddcd4c9
|
checker: fix looking for unprefixed `os` functions (#9968)
|
2021-05-02 21:46:12 +03:00 |
yuyi
|
581fe375cc
|
checker: fix generics with cascaded multi nested generic fn (fix #3815) (#9965)
|
2021-05-02 19:30:57 +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 |
Enzo
|
000d4d3064
|
checker: cleanup typeof (#9954)
|
2021-05-01 21:21:44 +03:00 |
yuyi
|
fec947c7e1
|
ast: minor cleanup in ast.FnDecl (#9950)
|
2021-05-01 12:50:49 +03:00 |
Alexander Medvednikov
|
e949d4b26c
|
tools/fast: add "V lines" and "V lines/s"
|
2021-04-30 15:31:50 +03:00 |
Louis Schmieder
|
fb685eee18
|
orm: support arrays (#9936)
|
2021-04-30 09:13:26 +03:00 |
yuyi
|
ea0ac09297
|
checker: fix generics with nested external generics fn (#9933)
|
2021-04-29 17:37:54 +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 |
zakuro
|
191a167f42
|
checker: allow omitting the enum name of map key (#9919)
|
2021-04-29 08:33:41 +03:00 |
Lukas Neubert
|
a065d014a2
|
fmt: keep constant sizes in struct field fixed array types (#9910)
|
2021-04-28 22:11:15 +03:00 |
Uwe Krüger
|
f4e92997f2
|
checker: support value array elements of `[heap]` type inside struct ref (#9899)
|
2021-04-28 07:47:00 +03:00 |
Louis Schmieder
|
faf2656335
|
orm: support multiline statements (#9888)
|
2021-04-27 15:28:57 +03:00 |
yuyi
|
9f1ac39770
|
checker: fix generics with anon generics fn argument (fix #9859) (#9897)
* checker: fix generics with anon generics fn argument
* cgen: fix typedef of generics anon fn
* fix check generics argument types
|
2021-04-27 15:25:42 +03:00 |
pancake
|
d8bb939072
|
native: fix tests, address comments and a little cleaner macho
|
2021-04-27 12:24:58 +03:00 |
pancake
|
a31a1eb9cb
|
native: define println and exit builtins or verror()
|
2021-04-27 12:24:58 +03:00 |
pancake
|
9a3869c521
|
v.ast: rename aarch64 to arm64 and aarch32 to arm32
|
2021-04-27 12:24:58 +03:00 |
Don Park
|
aebb551e93
|
cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878)
|
2021-04-27 08:18:48 +03:00 |
yuyi
|
3877522ee3
|
table,checker,cgen: fix generics with recursive generics struct (#9862)
|
2021-04-26 20:05:10 +03:00 |
yuyi
|
21d1f86ead
|
checker: fix generics that return reference generics struct (fix #6218) (#9869)
|
2021-04-26 20:01:01 +03:00 |
Enzo
|
de8c4866a4
|
v.checker: fix postfix expr on generic types (#9887)
|
2021-04-26 19:57:05 +03:00 |
yuyi
|
2b43d3193b
|
checker: fix generics with assign generics struct (fix #7784) (#9889)
|
2021-04-26 19:54:22 +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 |
zakuro
|
a0835ac139
|
checker/cgen: implement in expression for alias of array/map (#9871)
|
2021-04-25 18:17:54 +03:00 |
Alexander Medvednikov
|
7f5c3cc1f8
|
checker: do not allow modifying consts via mutable refs
|
2021-04-24 14:08:50 +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 |
Enzo
|
b4e4d48bbd
|
checker: make sure negation is only used with numeric types (#9854)
|
2021-04-23 15:18:56 +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 |
yuyi
|
8e455495b2
|
checker: fix generics that return multi generics struct (#9852)
|
2021-04-23 11:19:16 +03:00 |
yuyi
|
431d806dcf
|
ast, parser: cleanup of generic structs (#9839)
|
2021-04-22 18:21:01 +03:00 |
zakuro
|
7443179cc8
|
checker: make use of private enum from outside module an error. (#9821)
|
2021-04-22 07:07:56 +03:00 |
yuyi
|
d02822f456
|
ast.table: simplify resolve_generic_by_names/types() (#9834)
|
2021-04-21 12:22:42 +03:00 |
yuyi
|
7abf59710b
|
checker: check generic fn called no arg without generic names (#9825)
|
2021-04-20 21:36:21 +03:00 |
Ned Palacios
|
254d247e80
|
checker: return none if type is 0 in ensure_type_exists (#9820)
|
2021-04-20 12:11:41 +03:00 |
Delyan Angelov
|
9d8bda9eaf
|
v.ast, v.checker: fix absent 'missing return' warning, when a function ended with a t.panic() call
|
2021-04-20 11:49:06 +03:00 |
Delyan Angelov
|
d4f31412b7
|
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795)
|
2021-04-19 19:01:47 +03:00 |
spaceface
|
73352583e7
|
ci: fix all `-cstrict` warnings with gcc and clang (#9792)
|
2021-04-19 15:38:48 +03:00 |
Ned Palacios
|
dde3189e66
|
checker: avoid get_type_symbol panic inside array_init (#9800)
|
2021-04-19 14:58:30 +03:00 |
Uwe Krüger
|
8ab0d42b5f
|
checker: check argument for `chan.try_push/pop()` (#9798)
|
2021-04-19 11:41:21 +03:00 |
Henrixounez
|
4a1e2f9dcc
|
checker: working is none type check + no crash when checking with non types (#9793)
|
2021-04-18 16:28:39 +03:00 |
Henrixounez
|
ee7bcfd05c
|
checker: prevent double module name prepending on generics types regi… (#9791)
|
2021-04-18 16:26:40 +03:00 |
yuyi
|
731e942055
|
checker: fix generics with different order of generics fn (#9765)
|
2021-04-17 08:29:06 +03:00 |
yuyi
|
8cb44ed9db
|
checker: fix generics with nested generics fn (#9757)
|
2021-04-16 11:53:20 +03:00 |
yuyi
|
466dc4540b
|
all: minor cleanup of generics (#9744)
|
2021-04-15 11:00:23 +03:00 |
Jarred Sumner
|
9d6caa1d5d
|
checker: fix segfault in vls for struct field declarations, having custom initializers with fn calls (#9741)
|
2021-04-15 08:49:25 +03:00 |
Alexander Medvednikov
|
3a134acc5a
|
checker: orm: verify table type
|
2021-04-15 03:11:24 +03:00 |
yuyi
|
1250ce4353
|
cgen: fix generics with embed generics (fix #8694) (#9724)
|
2021-04-15 01:44:11 +02:00 |
crthpl
|
0099458c0a
|
all: small asm fixes and number labels (#9730)
|
2021-04-15 01:30:23 +02:00 |
Delyan Angelov
|
345868853e
|
checker: change wording of the error message for complex boolean expressions
|
2021-04-14 19:55:52 +03:00 |
crthpl
|
14434cc86a
|
all: bare metal support (fix `-freestanding`) (#9624)
|
2021-04-14 07:50:50 +02:00 |
Enzo
|
66294e359a
|
checker: add immutable_builtin_modify.vv test (#9702)
|
2021-04-13 06:55:41 +03:00 |
yuyi
|
c3ccb58450
|
checker: check generics variadic arg mismatch (#9700)
|
2021-04-13 02:06:24 +02:00 |
yuyi
|
b0b3c51658
|
checker: minor cleanup in fn_call (#9681)
|
2021-04-11 23:57:00 +02:00 |
Enzo
|
5a1a1b7c12
|
all: merge GoExpr and GoStmt (#9685)
|
2021-04-11 23:56:25 +02:00 |
Enzo
|
a851901620
|
checker: allow casting bool to byte (#9676)
|
2021-04-11 13:24:24 +03:00 |