Delyan Angelov
|
4b818fa2be
|
v: implement interface embedding (#9935)
|
2021-05-02 03:00:47 +03:00 |
spaceface
|
7acb48df83
|
parser: parse `JS.` interfaces properly (#9876)
|
2021-04-26 09:58:05 +03:00 |
yuyi
|
dd2002cc57
|
cgen: fix generics with multi generics struct receiver (#9853)
|
2021-04-23 15:17:57 +03:00 |
yuyi
|
431d806dcf
|
ast, parser: cleanup of generic structs (#9839)
|
2021-04-22 18:21:01 +03:00 |
Lukas Neubert
|
2df260acbb
|
parser: fix last_line of no body C struct (#9809)
|
2021-04-20 21:37:00 +03:00 |
spaceface
|
73352583e7
|
ci: fix all `-cstrict` warnings with gcc and clang (#9792)
|
2021-04-19 15:38:48 +03:00 |
Ned Palacios
|
6948419595
|
parser: fix InterfaceDecl's position (#9649)
|
2021-04-09 17:18:22 +02:00 |
Lukas Neubert
|
a0648a3ec2
|
all: fixes related to Node.pos (#9613)
|
2021-04-06 15:16:19 +02:00 |
Ned Palacios
|
07b1dc66dd
|
ast, parser: add additional pos info for FnDecl and InterfaceDecl nodes (#9603)
|
2021-04-05 18:14:21 +03:00 |
Ned Palacios
|
1bb48c3577
|
ast, parser: patches for VLS (#9562)
|
2021-04-02 16:26:37 +02:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03:00 |
Alexander Medvednikov
|
6f318be96c
|
checker: do not allow nil sum types init
|
2021-03-31 11:13:52 +03:00 |
Ned Palacios
|
3ced970b17
|
ast, parser: add additional info for CallExpr, StructInit nodes (#9526)
|
2021-03-30 09:43:17 +02:00 |
Ned Palacios
|
aa4e22c287
|
scanner, token: add column information to tokens (#9407)
|
2021-03-23 06:23:46 +01:00 |
Lukas Neubert
|
49eeddcd1c
|
parser: set correct last line for struct inits (#9349)
|
2021-03-17 20:46:08 +02:00 |
Delyan Angelov
|
69f1e7c9c3
|
v: fixes for `v -autofree -o v2 cmd/v`
|
2021-03-14 09:37:38 +02:00 |
Delyan Angelov
|
6da66226e5
|
vfmt: keep `mut:` in interface declarations (#9053)
|
2021-03-04 15:30:30 +02:00 |
zakuro
|
6813866141
|
fmt: fix bug of disappearing `pub` in struct decl (#8777)
|
2021-02-16 12:39:50 +01:00 |
spaceface
|
e3649ec4d3
|
all: implement `type_name()` for interfaces too (#8767)
|
2021-02-15 15:29:44 +02:00 |
Uwe Krüger
|
374739b804
|
all: rename `[ref_only]` -> `[heap]` (#8718)
|
2021-02-13 16:52:01 +02:00 |
Alexander Medvednikov
|
0a03856c83
|
parser: small c2v fixes
|
2021-02-12 09:12:26 +01:00 |
Lukas Neubert
|
cb1f63f765
|
parser: replace eat_line_end_comments() with configurable eat_comments() (#8636)
|
2021-02-08 18:16:02 +02:00 |
Lukas Neubert
|
7f4c582f1a
|
fmt: unwrap long infix exprs inside parenthesis if necessary (#8609)
|
2021-02-07 23:10:39 +01:00 |
Lukas Neubert
|
9ab1d17cbc
|
fmt: keep __global in struct declarations (#8584)
|
2021-02-05 16:46:43 +01:00 |
Daniel Däschle
|
d477e525bb
|
checker/gen: fix generic struct init (#8322)
|
2021-02-03 00:42:00 +11:00 |
spaceface
|
5f2b2df546
|
checker: don't disallow defining methods on interfaces (#8335)
|
2021-01-26 11:56:17 +01:00 |
spaceface
|
4be45e8d02
|
checker: add mutability checks for interface fields; add tests (#8312)
|
2021-01-24 22:11:17 +01:00 |
Lukas Neubert
|
522eac200f
|
fmt: keep `arr << if x {} else {}` on a single line (#8289)
|
2021-01-24 08:02:35 +01:00 |
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
spaceface
|
c2d501e8a9
|
all: implement interface fields (#8259)
|
2021-01-23 08:57:17 +02:00 |
Nick Treleaven
|
72168cd6bc
|
parser: support `mut:` section in the interface methods, and a mut interface fn modifier (#8092)
|
2021-01-22 10:02:28 +02:00 |
Enzo
|
55efd8309a
|
parser: fix parsing interface methods with varargs (#8229)
|
2021-01-20 23:15:02 +02:00 |
Tim Basel
|
129eee346b
|
fmt: keep single empty lines (#8189)
|
2021-01-19 14:49:40 +01:00 |
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
Nick Treleaven
|
df39e7001c
|
parser: support `module:` for immutable private struct fields (#8140)
|
2021-01-17 05:39:44 +01:00 |
Nick Treleaven
|
5185a59ac7
|
parser: use Parser.builtin_mod instead of checking p.mod (#8137)
|
2021-01-17 05:31:41 +01:00 |
Daniel Däschle
|
53941c4a0a
|
fmt: fix if cond break readability (#8132)
|
2021-01-16 02:12:17 +01:00 |
Lukas Neubert
|
d96a1b8a5f
|
fmt: intelligent newlines for trailing arg syntax (#7748)
|
2021-01-10 17:39:37 +01:00 |
Daniel Däschle
|
bbac95a438
|
parser: error on recursive struct (#7964)
|
2021-01-09 01:33:36 +01:00 |
Alexander Medvednikov
|
e3f8d448c1
|
all: [noinit] struct attribute
|
2021-01-08 04:49:16 +01:00 |
Daniel Däschle
|
8a0fc2e3c2
|
parser: proper error when declaring struct embedding at the wrong pos (#7920)
|
2021-01-06 15:46:36 +01:00 |
Daniel Däschle
|
7c9fb73b3f
|
vfmt: fix comments before ...f in Abc{...f} (#7870)
|
2021-01-04 21:01:35 +02:00 |
Daniel Däschle
|
164d7bf5fb
|
parser: struct updating syntax with `Abc{...oldabc newfield: val}` (#7865)
|
2021-01-04 20:19:03 +02:00 |
Alexander Medvednikov
|
fc6d45b2d7
|
fmt: fix mut_pos in structs with embeds
|
2021-01-02 19:24:12 +01:00 |
Daniel Däschle
|
e4edc5925a
|
parser: embed always public and mutable (#7722)
|
2020-12-30 21:17:48 +02:00 |
Lukas Neubert
|
4783503185
|
fmt: keep interface comments between methods (#7650)
|
2020-12-28 18:14:55 +02:00 |
Lukas Neubert
|
97bfabf194
|
fmt: heavily refactor and improve/fix logic for structs that use short args syntax (#7653)
|
2020-12-28 18:14:08 +02:00 |
Lukas Neubert
|
ef6011b94c
|
fmt: keep comments after struct decl default value (#7648)
|
2020-12-28 15:38:21 +02:00 |
Ned Palacios
|
2946673bc2
|
parser: fix StructInitField pos, when value expr is empty (#7643)
|
2020-12-28 12:39:02 +02:00 |
Daniel Däschle
|
b27f5c378c
|
all: reimplement struct embedding with methods (#7506)
|
2020-12-23 19:12:49 +01:00 |