Alexander Medvednikov
|
1ef8eacd6e
|
checker/gen: more generics fixes; ComptimeCall
|
2020-05-25 05:32:36 +02:00 |
Alexander Medvednikov
|
67750c91d7
|
generics: lots of fixes
|
2020-05-24 04:43:03 +02:00 |
Delyan Angelov
|
43eaec325d
|
fmt: add keep tests for struct init, fix warnings
|
2020-05-23 12:05:21 +03:00 |
Delyan Angelov
|
c690c2f984
|
vfmt: fix formatting of struct init without a module prefix
|
2020-05-23 11:56:06 +03:00 |
Enzo Baldisserri
|
801bca1ef2
|
compiler: propagate optional
|
2020-05-23 08:51:15 +02:00 |
Delyan Angelov
|
4af4a8f2ff
|
fmt: fix 'import time as t', then using t.sleep_ms() .
|
2020-05-22 22:31:24 +03:00 |
Alexander Medvednikov
|
227f039652
|
vfmt: handle generic fn calls
|
2020-05-21 18:36:25 +02:00 |
Alexander Medvednikov
|
82cedbaf62
|
fmt: fix `map[string][]string`; parser: allow `foo<int>(10)`
|
2020-05-20 21:40:24 +02:00 |
spaceface777
|
b10df252dc
|
all: replace `is_c`, `is_js` with `language`
|
2020-05-19 17:12:47 +02:00 |
Ned Palacios
|
bd85d2fd2a
|
vfmt: make methods and structs public, to be used in vdoc
|
2020-05-19 14:19:37 +03:00 |
Alexander Medvednikov
|
57ea9bec30
|
tests: vfmt test for all vlib/v files
|
2020-05-18 18:43:07 +02:00 |
Alexander Medvednikov
|
b1bf5f0edc
|
vfmt: wrap long sum type definitions
|
2020-05-18 18:08:32 +02:00 |
Alexander Medvednikov
|
90270d8791
|
vfmt: handle fixed size arrays
|
2020-05-18 16:52:12 +02:00 |
Ned Palacios
|
d94d436273
|
table, vfmt: fix typ_to_string + some fixes to vfmt
|
2020-05-18 15:37:06 +02:00 |
Alexander Medvednikov
|
1bf26a35fa
|
array: rename default to init
|
2020-05-13 22:00:24 +02:00 |
Alexander Medvednikov
|
33a9822548
|
parser/vfmt: handle array len and default in array init
|
2020-05-13 16:11:52 +02:00 |
Alexander Medvednikov
|
1c8e14c77c
|
vfmt: handle comments in const blocks
|
2020-05-12 00:09:59 +02:00 |
Alexander Medvednikov
|
c64f8b0d1f
|
parser/checker: pub: struct fields
|
2020-05-09 15:16:48 +02:00 |
Alexander Medvednikov
|
f80876497e
|
fmt: use the new `mut` syntax in args
|
2020-05-06 12:43:46 +02:00 |
Alexander Medvednikov
|
c5d295c378
|
fmt: move struct init logic to a separate fn
|
2020-05-05 15:06:51 +02:00 |
Delyan Angelov
|
d30eefc3be
|
fmt: improve handling of map[k]v and []map[k]v types
|
2020-05-04 18:27:07 +03:00 |
Delyan Angelov
|
5eb71c4a13
|
fmt: initial support for -debug
|
2020-05-04 17:27:41 +03:00 |
Delyan Angelov
|
35f56bc4f0
|
vfmt: fix eating ? in `$if x ? {}`, missing newline in `__global ...`
|
2020-05-01 12:29:23 +03:00 |
Enzo Baldisserri
|
50491670af
|
fmt: fix formatting backtick char literal
|
2020-04-30 09:33:43 +02:00 |
Alexander Medvednikov
|
2fc05b814c
|
all: interface arrays
|
2020-04-29 12:21:15 +02:00 |
Delyan Angelov
|
0e765e34be
|
vfmt: extract v.util.find_working_diff_command, color_compare_files
|
2020-04-29 11:51:45 +03:00 |
Delyan Angelov
|
8ea087f957
|
vfmt: fix compilation; handle the case when fmt.tabs is not enough
|
2020-04-28 16:04:37 +03:00 |
Alexander Medvednikov
|
7955181c6c
|
tests: [] fixes
|
2020-04-26 09:18:29 +02:00 |
Alexander Medvednikov
|
3ab8dc0092
|
parser: array init: `[]string` => `[]string{}`
|
2020-04-26 09:17:17 +02:00 |
Alexander Medvednikov
|
f7153ca4fa
|
fmt: array_init(); parser: fn_redefinition_error()
|
2020-04-26 07:17:01 +02:00 |
yuyi
|
541b058e90
|
all: use `a !in b` instead of `!(a in b)`
|
2020-04-26 06:39:23 +02:00 |
Enzo Baldisserri
|
c73d91a8fe
|
fmt: TypeDecl; format more files
|
2020-04-25 20:58:00 +02:00 |
Enzo Baldisserri
|
fb54a2635c
|
fmt: lots of fixes
|
2020-04-25 17:49:16 +02:00 |
Alexander Medvednikov
|
d7ee4755c2
|
parser/cgen: interfaces (part 1)
|
2020-04-22 20:23:53 +02:00 |
Kris Cherven
|
faed178cb1
|
fmt: fix optional formatting
|
2020-04-22 20:12:58 +02:00 |
Alexander Medvednikov
|
ee2e83fef0
|
go back to `mut`. decisions, decisions...
|
2020-04-21 05:11:50 +02:00 |
Alexander Medvednikov
|
cc0e0ed281
|
fmt: single line match fix; x64: minor fixes
|
2020-04-21 04:51:53 +02:00 |
Alexander Medvednikov
|
2642f6a0da
|
cgen: remove _PUSH
|
2020-04-20 09:04:17 +02:00 |
Alexander Medvednikov
|
ee2f1652b5
|
fmt: add EOL
|
2020-04-20 08:30:42 +02:00 |
Alexander Medvednikov
|
de9f302412
|
fmt: array newlines test
|
2020-04-18 23:58:59 +02:00 |
Alexander Medvednikov
|
a18201faa7
|
fmt: save newlines between array elements
|
2020-04-18 23:09:23 +02:00 |
Alexander Medvednikov
|
515da900e4
|
fmt: remove \t before same line comments
|
2020-04-17 20:53:39 +02:00 |
Alexander Medvednikov
|
2c778c8849
|
fmt: single line matches
|
2020-04-17 20:51:19 +02:00 |
Daniel Däschle
|
402e55d115
|
ast: expr.Position; struct field refactoring
|
2020-04-17 02:38:39 +02:00 |
Kris Cherven
|
182108faca
|
fmt fmt.v, vfmt.v
|
2020-04-16 15:54:17 +02:00 |
Kris Cherven
|
332d52f459
|
fmt: stop mangling reference names
|
2020-04-16 07:28:41 +02:00 |
Abdullah Atta
|
6a186e8f11
|
jsgen: implement js backend
|
2020-04-15 23:16:49 +02:00 |
Alexander Medvednikov
|
da28bc7026
|
Revert "fmt: `(var f Foo)`"
This reverts commit 4b110756e0 .
|
2020-04-15 04:15:42 +02:00 |
Alexander Medvednikov
|
4b110756e0
|
fmt: `(var f Foo)`
|
2020-04-15 03:56:16 +02:00 |
Alexander Medvednikov
|
f34352faf9
|
fmt: use var instead of mut
|
2020-04-15 01:55:51 +02:00 |