Delyan Angelov
|
5d4cce3e95
|
ci: fix failing tests
|
2020-10-15 15:42:16 +03:00 |
Alexander Medvednikov
|
8b13f3b53f
|
fmt: fix tests
|
2020-10-15 12:45:34 +02:00 |
Delyan Angelov
|
c33a748344
|
vfmt: handle more comments in interface/struct init/match branches
|
2020-10-14 22:52:33 +03:00 |
Alexander Medvednikov
|
ea09bd5e45
|
checker/fmt: `for mut val` fixes
|
2020-10-14 12:50:19 +02:00 |
Delyan Angelov
|
d316f78f94
|
vfmt: remove the buggy f.type_to_str, use f.table.type_to_str from now on
|
2020-10-13 16:17:02 +03:00 |
Delyan Angelov
|
1123f4fcc9
|
vfmt: fix deep nested map types, using f.table.type_to_str
|
2020-10-13 16:08:25 +03:00 |
Enzo
|
da7d531f8f
|
fmt: refactor `type_to_str` (#6607)
|
2020-10-12 18:41:42 +03:00 |
Enzo
|
93bb7564dc
|
fmt: fix multiple problems with types (#6603)
|
2020-10-12 09:27:55 +03:00 |
Delyan Angelov
|
e862fad917
|
parser: support `mut static x := y` in -translated mode
|
2020-10-09 22:24:21 +03:00 |
Enzo
|
fd88bfbac8
|
fmt: fix formatting of anon args (#6545)
|
2020-10-04 06:32:47 +02:00 |
Enzo
|
c84848c417
|
fmt: fix formatting enum with attributes (#6551)
|
2020-10-03 21:33:02 +03:00 |
Enzo
|
677b0ba2d2
|
gen: access fields in multi-type sumtype match (#6541)
|
2020-10-03 11:19:43 +02:00 |
Henrixounez
|
c9574ae7d7
|
syntax: new global variable declaration syntax (#6540)
|
2020-10-03 07:03:44 +02:00 |
Delyan Angelov
|
dc954bbb03
|
all: use `macos` consistently in os.user_os and the compiler
|
2020-09-29 22:32:20 +03:00 |
Delyan Angelov
|
f9ce7f3542
|
vfmt: fix formatting for [4][4]int static arrays
|
2020-09-27 22:46:33 +03:00 |
Delyan Angelov
|
cbd7c7d8c6
|
tests: support VTEST_ONLY in vlib/v/fmt/fmt_keep_test.v too
|
2020-09-27 22:01:46 +03:00 |
Alexander Medvednikov
|
c5dc792c5d
|
fmt: args => params
|
2020-09-27 03:46:15 +02:00 |
Daniel Däschle
|
abc98c273c
|
parser: require assign on type alias (#6477)
|
2020-09-25 12:02:32 +02:00 |
Nick Treleaven
|
be2ac0ba89
|
fmt: fix writing ConcatExpr (#6466)
|
2020-09-24 18:04:39 +02:00 |
Uwe Krüger
|
72ecc222ee
|
fmt: support `select` expressions (#6460)
|
2020-09-23 22:22:39 +02:00 |
Nick Treleaven
|
9958881cbe
|
parser: support parsing unsafe (as first token) as UnsafeExpr (#6032)
|
2020-09-19 19:18:36 +03:00 |
Enzo
|
a1e127ae46
|
checker: check type in `is` InfixExpr (#6407)
|
2020-09-18 01:01:05 +02:00 |
spaceface777
|
ff92c3409d
|
ast: merge `IfExpr` and `CompIf` (#6011)
|
2020-09-18 00:58:54 +02:00 |
Uwe Krüger
|
1bc9063573
|
parser: implement parsing of `select` block (#6379)
|
2020-09-16 15:34:57 +02:00 |
Uwe Krüger
|
5258f52497
|
fmt: add support for `chan` types and operations (#6328)
|
2020-09-08 00:36:05 +02:00 |
Uwe Krüger
|
4d425b0e6d
|
fmt: insert space in front of `?` for propagation (#6250)
|
2020-08-29 01:56:43 +02:00 |
Delyan Angelov
|
0975f3bd4c
|
vfmt: support `x chan Name` in fn args
|
2020-08-28 01:54:16 +03:00 |
Delyan Angelov
|
8f5ca29fcd
|
vfmt: support `x := chan Name{cap: 123}`
|
2020-08-27 23:37:39 +03:00 |
Delyan Angelov
|
7476428def
|
vfmt: handle comments after last const field
|
2020-08-27 15:07:49 +03:00 |
Delyan Angelov
|
cc82ed28f8
|
tests: enable running fmt_vlib_test.v on != freebsd platforms again
|
2020-08-25 19:09:47 +03:00 |
Delyan Angelov
|
dad2c6608e
|
examples: implement examples/sokol/sounds/wav_player.v
|
2020-08-23 20:49:37 +03:00 |
Nick Treleaven
|
1b914d217e
|
fmt: don't remove `mut` from `if mut` smart cast (#6188)
|
2020-08-22 00:00:02 +02:00 |
Alexander Medvednikov
|
55b025413d
|
fmt: temporary struct attr fix
|
2020-08-19 14:33:45 +02:00 |
Nick Treleaven
|
0f0a91fc9e
|
parser: support custom fixed size ArrayInit: `[3]int{init: -1}` (#6114)
|
2020-08-15 11:01:54 +02:00 |
Uwe Krüger
|
9602a25a0b
|
all: add builtin channel type `chan elem_type` (#6126)
|
2020-08-14 21:18:42 +02:00 |
Daniel Däschle
|
b2fee21ef3
|
checker: check struct casting (#5864)
|
2020-08-14 14:57:08 +02:00 |
Daniel Däschle
|
34b28cb68a
|
fmt: fix anon fn call (#6120)
|
2020-08-13 20:05:59 +02:00 |
Delyan Angelov
|
36eae1c175
|
builtin: x.vstring() instead of string(x) (#6102)
|
2020-08-10 18:05:26 +02:00 |
Nick Treleaven
|
5e2824e2f2
|
vfmt: align field attributes (when no inline comment after type) (#6089)
|
2020-08-10 13:13:42 +03:00 |
Nick Treleaven
|
fce106cf83
|
parser: use Attr.arg field for `[name: arg]` (#6084)
|
2020-08-10 02:00:14 +02:00 |
Enzo
|
f238890fe9
|
compiler: move attributes to declarations (#6026)
|
2020-08-04 20:10:22 +02:00 |
Delyan Angelov
|
3dfe242dbb
|
vfmt: add a regression test for `type SocketMessageFn = fn (mut c Client, msg &Message) ?
|
2020-08-04 16:13:04 +03:00 |
Delyan Angelov
|
cd9bb51af2
|
vfmt: fix 6040 (part 2)
|
2020-08-04 16:08:47 +03:00 |
Nick Treleaven
|
c33dbbc216
|
fmt: don't add newlines for UnsafeExpr (#6048)
|
2020-08-04 00:29:10 +02:00 |
Swastik Baranwal
|
c547e8b191
|
v/fmt: fix formatting of `type Foo = fn (a int)?` (#6047)
|
2020-08-03 19:28:48 +03:00 |
Nick Treleaven
|
3e4df7f140
|
v/fmt: fix dropping `as ident` from `if sum is T` statement (#6049)
|
2020-08-03 18:16:06 +03:00 |
Nick Treleaven
|
7f447bb82f
|
ast: use Block instead of UnsafeStmt (#5981)
|
2020-08-02 14:06:44 +03:00 |
Nick Treleaven
|
eb47ce1e83
|
ast: fix ParExpr.str(), RangeExpr.str(), SizeOf.str() (#6023)
|
2020-07-31 02:31:01 +02:00 |
Delyan Angelov
|
3883c34b8c
|
vfmt: fix eating of `n` in `string(x,n)`
|
2020-07-30 12:15:04 +03:00 |
Alexander Medvednikov
|
f269cbdc94
|
Revert "parser: Support `unsafe(expr)` (#5973)"
This reverts commit 19c226fcf8.
|
2020-07-29 21:41:47 +02:00 |