Anton Zavodchikov
|
1ad4623fb8
|
tmpl: move to v/parser (#9052)
|
2021-03-15 13:35:55 +02:00 |
|
Lukas Neubert
|
c40ab0db72
|
fmt: fix removal of attrs with comments afterwards (#9255)
|
2021-03-11 21:44:33 +01:00 |
|
Delyan Angelov
|
5a231326d7
|
parser: improve syntax errors in module declarations
|
2021-03-11 10:42:36 +02:00 |
|
spaceface
|
f1469a8761
|
checker: allow accessing fields common to all sumtype members (#9201)
|
2021-03-09 19:16:18 +02:00 |
|
zakuro
|
4c3ce97763
|
parser: fix Enum.value when Enum is an imported symbol (#9046)
|
2021-03-07 16:44:38 +01:00 |
|
Delyan Angelov
|
849cde245c
|
v: support dump(expr) (#9160)
|
2021-03-06 18:09:28 +01:00 |
|
Delyan Angelov
|
0f042124cb
|
tests: support fn test_fn() ? { opt()? }
|
2021-03-05 14:18:21 +02:00 |
|
Lukas Neubert
|
8a0b5bad94
|
fmt: keep empty lines in const blocks (#9071)
|
2021-03-03 09:23:11 +02:00 |
|
spaceface
|
b712af56fd
|
all: bring back panic(err.msg) -> panic(err) (#9022)
|
2021-03-01 00:18:14 +01:00 |
|
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
|
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
|
Delyan Angelov
|
bdce35fd9c
|
parser: support static x := 42 in [unsafe] functions too
|
2021-02-28 14:32:46 +02:00 |
|
Alexander Medvednikov
|
3a2d696fac
|
time: time.wait() => time.sleep()
|
2021-02-27 20:41:06 +03:00 |
|
zakuro
|
1fd0aceb42
|
parser: imporve generics detection (#8992)
|
2021-02-27 10:07:18 +02:00 |
|
zakuro
|
89c82ff8e2
|
parser: treat f<mod.Type> as generic call not < operator (#8938)
|
2021-02-26 09:05:00 +02:00 |
|
Delyan Angelov
|
639061be6c
|
examples: fix left/right arrows in examples/term.ui/text_editor.v
|
2021-02-25 21:01:27 +02:00 |
|
Lukas Neubert
|
7e27920cf7
|
fmt: fix inserted empty line before go stmt with anonymus function (#8951)
|
2021-02-25 01:30:04 +01: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 |
|
Delyan Angelov
|
c37daba41d
|
ci: fix the remaining obsolete reference to time.sleep and time.usleep
|
2021-02-22 09:12:23 +02:00 |
|
zakuro
|
ac4791045f
|
time: consolidate the different sleep functions into time.wait(Duration) (#8853)
|
2021-02-21 17:05:03 +02:00 |
|
spaceface
|
260f677469
|
term.ui: use the new [flag] enums (#8881)
|
2021-02-21 16:07:49 +02:00 |
|
zakuro
|
7928689ee2
|
parser: set is_public when registering enum type symbols (#8875)
|
2021-02-21 12:13:52 +02:00 |
|
zakuro
|
d08a0b5a7c
|
parser: check not used expression for all exprs in multi-expr (#8733)
|
2021-02-15 17:41:04 +02:00 |
|
Uwe Krüger
|
374739b804
|
all: rename [ref_only] -> [heap] (#8718)
|
2021-02-13 16:52:01 +02:00 |
|
Delyan Angelov
|
1675b6f3e0
|
ci: fix code-formatting job
|
2021-02-12 15:44:12 +02:00 |
|
Alexander Medvednikov
|
0a03856c83
|
parser: small c2v fixes
|
2021-02-12 09:12:26 +01:00 |
|
Nick Treleaven
|
d37fb5641f
|
parser: improve printing of unexpected tokens (#8654)
|
2021-02-09 17:07:30 +02:00 |
|
Lukas Neubert
|
8cb01ba8db
|
fmt: keep comments between and after imports (#8637)
|
2021-02-08 19:48:48 +02: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 |
|
Nick Treleaven
|
f5f65f929f
|
parser: parse map{key_expr: val_expr} (#8608)
|
2021-02-06 22:13:24 +01:00 |
|
Alexander Medvednikov
|
1084b43ffb
|
all: ast walker for marking unused fns
|
2021-02-05 08:05:35 +01:00 |
|
Nick Treleaven
|
de37b52d4b
|
checker: check goto label exists (#8523)
|
2021-02-03 15:20:10 +01:00 |
|
zakuro
|
e30e794884
|
checker: add check for using a private const in another module (#8501)
|
2021-02-03 10:17:13 +02:00 |
|
Lukas Neubert
|
8755f40430
|
fmt: keep comments after imports (#8483)
|
2021-02-01 14:45:08 +01:00 |
|
Lukas Neubert
|
e47c13903b
|
fmt: keep newlines between toplevel stmts (#8383)
|
2021-01-29 12:17:59 +02:00 |
|
Alexander Medvednikov
|
36e75e5208
|
Revert "parser: fix panic when single letter receiver parsed (#8381)"
This reverts commit 93b0d8ca64f7eeec3543b9397860e350241a8075.
|
2021-01-28 10:59:04 +01:00 |
|
Daniel Däschle
|
93b0d8ca64
|
parser: fix panic when single letter receiver parsed (#8381)
|
2021-01-28 10:56:43 +01:00 |
|
Delyan Angelov
|
a5b10b5539
|
parser: improve the error message for unexpected keywords
|
2021-01-25 15:29:07 +02:00 |
|
Delyan Angelov
|
728344ff65
|
ci: fix v test-cleancode
|
2021-01-25 12:55:01 +02:00 |
|
Uwe Krüger
|
815104e5d0
|
parser: parse -1 and -13.3 as number literals (#8321)
|
2021-01-24 22:09:51 +01:00 |
|
Uwe Krüger
|
79b4b0e6c8
|
parser: assure explicit map init contains no parameters (#8299)
|
2021-01-24 01:06:43 +02:00 |
|
Uwe Krüger
|
74115fe70a
|
parser: auto-import sync when shared objects are used (#8294)
|
2021-01-23 16:03:21 +01:00 |
|
Alexander Medvednikov
|
ba2a15c9d7
|
parser: fix const check
|
2021-01-23 10:46:00 +01:00 |
|
Alexander Medvednikov
|
45cc3ec664
|
sokol: remove an absolute import
|
2021-01-23 10:32:00 +01:00 |
|
Alexander Medvednikov
|
d991712b3c
|
gg: native rendering mode on macOS
|
2021-01-23 10:25:43 +01:00 |
|
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
|
Daniel Däschle
|
500ebf77e4
|
all: implement multiple generics (#8231)
|
2021-01-22 13:49:56 +01:00 |
|
joe-conigliaro
|
97ebecc5f4
|
usecache: get all tests running with -usecache enabled by default (p.1) (#7699)
|
2021-01-20 06:04:59 +01:00 |
|
Tim Basel
|
129eee346b
|
fmt: keep single empty lines (#8189)
|
2021-01-19 14:49:40 +01:00 |
|