fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
dd1a8cbadc
|
parser: check error for struct field type using 'mut' (#13847)
|
2022-03-28 18:13:38 +03:00 |
yuyi
|
dd06698ee3
|
ast: rename TypeSymbol.is_public to TypeSymbol.is_pub (#13710)
|
2022-03-10 22:18:57 +02:00 |
yuyi
|
bc16c61f6f
|
parser: check using 'mut' on fn_decl return type (#13610)
|
2022-02-27 14:23:43 +02:00 |
Tim Basel
|
9d0a5942ac
|
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
yuyi
|
a61b4809dc
|
ast, parser, checker: fix generic struct init with inconsistent generic types (#13359)
|
2022-02-04 14:24:38 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
yuyi
|
d553071e65
|
parser, checker: correct error message for a fixed array size using a non constant (fix #13219) (#13228)
|
2022-01-20 13:03:19 +02:00 |
Tim Basel
|
14b33baa3b
|
transformer: refactor + apply transform to (hopefully) all nodes (#13216)
|
2022-01-20 08:40:16 +02:00 |
yuyi
|
ba3308296b
|
ast: rename register_type_symbol to register_sym (#13217)
|
2022-01-19 20:16:23 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Delyan Angelov
|
43fee6b3d5
|
all: fix registration of methods with the same name on different generic structs
|
2021-12-28 21:42:48 +02:00 |
Daniel Däschle
|
35282396ec
|
all: inline sum types (#12912)
|
2021-12-25 18:26:40 +03:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03:00 |
yuyi
|
cd0b581445
|
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
|
2021-12-19 18:25:18 +02:00 |
Thomas Mangin
|
0d0d7323bb
|
transformer: provide direct_memory_access to arrays when safe (#12724)
|
2021-12-11 21:55:46 +02:00 |
yuyi
|
c9b2f878b3
|
parser, checker: optimize checking generic struct type mismatch (#12179)
|
2021-10-15 00:11:31 +03:00 |
ChAoS_UnItY
|
3647fc6633
|
parser: perform constant folding before checking size of fixed array (#12126)
|
2021-10-10 01:55:25 +03:00 |
yuyi
|
82e6d6e51d
|
cgen: fix threads array wait without go calls (fix #12009) (#12050)
|
2021-10-03 18:24:44 +03:00 |
Enzo
|
b2ecca3966
|
all: remove `size_t` (#11478)
|
2021-09-21 02:12:38 +03:00 |
Enzo
|
bef3390f36
|
builtin: fix compilation (#11445)
|
2021-09-08 14:19:21 +03:00 |
Enzo
|
e3b65092d6
|
parser: deprecate `size_t` (#11443)
|
2021-09-08 13:09:32 +03:00 |
yuyi
|
3d22dc1608
|
all: fix formating Foo<A,B> to Foo<A, B> (#11225)
|
2021-08-18 17:17:21 +03:00 |
yuyi
|
5162c257a2
|
v.parser: minor cleanup in parse_type.v (#11047)
|
2021-08-04 12:49:36 +03:00 |
Daniel Däschle
|
815c4b7420
|
all: rename generic_struct_inst to generic_inst (#11044)
|
2021-08-04 03:37:27 +03:00 |
yuyi
|
a5c784830b
|
all: simplify global_scope processing (#10848)
|
2021-07-18 15:29:34 +03:00 |
yuyi
|
3a0fa550b6
|
checker: fix generics fn inferring map type (fix #10835) (#10839)
|
2021-07-17 17:49:21 +03:00 |
Emily Hudson
|
535dcac8fa
|
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904)
|
2021-06-13 23:53:38 +03:00 |
Ehsan Afzali
|
672bb6ca7f
|
parser: fix required function members in struct (#10299)
|
2021-06-03 02:55:58 +03:00 |
Lukas Neubert
|
6b683d31ac
|
v.parser: support imported enums as map keys (#10234)
|
2021-05-28 20:09:03 +03:00 |
Delyan Angelov
|
e512caf8f5
|
vfmt: do not error on `field [fsize]Type`, where `fsize` is from another .v file
|
2021-05-22 16:42:38 +03:00 |
Lukas Neubert
|
be189e0059
|
fmt: keep generics for selective import as fn param (#10138)
|
2021-05-19 21:25:02 +03:00 |
crthpl
|
0d44c8857e
|
checker: fix position of unknown type errors (#10110)
|
2021-05-16 04:51:23 +03:00 |
zakuro
|
8c44873674
|
fmt,parser: prevent unknown module error (#10004)
|
2021-05-05 14:09:30 +03:00 |
zakuro
|
1e856c0f94
|
parser: improve error message for `mod.unknownsubmod.Type` (#9976)
|
2021-05-04 11:31:31 +03:00 |
yuyi
|
d236d6a473
|
parser, cgen: fix generics fn typeof name (fix #7357) (#9939)
|
2021-04-30 13:40:36 +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 |
Uwe Krüger
|
787a63dab6
|
cgen: execute `defer` block *after* return expression is evaluated (#9893)
|
2021-04-27 01:42:16 +03:00 |
yuyi
|
431d806dcf
|
ast, parser: cleanup of generic structs (#9839)
|
2021-04-22 18:21:01 +03:00 |
yuyi
|
3158617ce2
|
parser: simplify parse_generic_struct_inst_type() (#9801)
|
2021-04-19 14:47:39 +03:00 |
yuyi
|
1250ce4353
|
cgen: fix generics with embed generics (fix #8694) (#9724)
|
2021-04-15 01:44:11 +02:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03:00 |
yuyi
|
478bb9ce8e
|
parser, checker: fix generic fn that returns a generic struct (#9469)
|
2021-03-26 08:32:11 +02:00 |
Uwe Krüger
|
f67bff1696
|
all: support `thread` handles and `wait()` for functions returning optionals (#8990)
|
2021-02-27 10:16:55 +02:00 |
Delyan Angelov
|
1c0eefae38
|
parser/scanner: replace p.peek_tok2/3 with p.peek_token(2/3) (#8946)
|
2021-02-24 21:03:53 +03:00 |
Uwe Krüger
|
5306b2788c
|
all: extend `wait()` method to array of `thread` handles (#8840)
|
2021-02-22 15:08:52 +02:00 |
Delyan Angelov
|
5a333b0fdc
|
gen,parser: allow enums as map keys
|
2021-02-20 19:39:25 +02:00 |
yuyi
|
5e1159e4c3
|
checker: change non-const size of fixed array error message (#8850)
|
2021-02-20 12:14:44 +01:00 |
Swastik Baranwal
|
09cff69919
|
all: allow using aliases as keys in map (#8589)
|
2021-02-08 18:51:05 +01:00 |