yuyi
|
977eb895e8
|
checker: check array init's element type
|
2020-05-28 13:32:12 +02:00 |
Alexander Medvednikov
|
6f7628cb67
|
parser: comptime call fixes
|
2020-05-27 03:20:25 +02:00 |
yuyi
|
bb48851092
|
cgen: fix mutliple_assign swap
|
2020-05-26 18:00:51 +02:00 |
Delyan Angelov
|
b0cfd3fa67
|
parser: reimplement [flag] enum support. Add p.vcodegen too
|
2020-05-26 00:00:48 +03:00 |
Alexander Medvednikov
|
1ef8eacd6e
|
checker/gen: more generics fixes; ComptimeCall
|
2020-05-25 05:32:36 +02:00 |
Delyan Angelov
|
70f0115e27
|
options: use panic_debug() for opt()? calls in main with -cg
|
2020-05-23 11:43:20 +03:00 |
Enzo Baldisserri
|
801bca1ef2
|
compiler: propagate optional
|
2020-05-23 08:51:15 +02:00 |
Enzo Baldisserri
|
1633675c11
|
gen: fix nested `or`
|
2020-05-21 22:35:43 +02:00 |
Alexander Medvednikov
|
ce1a181699
|
all: generic functions
|
2020-05-21 03:58:53 +02:00 |
spaceface777
|
b10df252dc
|
all: replace `is_c`, `is_js` with `language`
|
2020-05-19 17:12:47 +02:00 |
Alexander Medvednikov
|
b1bf5f0edc
|
vfmt: wrap long sum type definitions
|
2020-05-18 18:08:32 +02:00 |
Alexander Medvednikov
|
5c0c418818
|
ast: vfmt ast.v
|
2020-05-18 18:06:09 +02:00 |
yuyi
|
7f4cf08516
|
parser: check `(mut f Foo)` syntax
|
2020-05-17 13:51:18 +02:00 |
Enzo Baldisserri
|
f44a40eee0
|
checker: check incorrect names
|
2020-05-16 16:12:23 +02:00 |
Tanel Liiv
|
44502a3fb2
|
parser: return multi expr
|
2020-05-15 23:14:53 +02:00 |
yuyi
|
6d0b791ac8
|
parser: warning about unused imports
|
2020-05-14 17:14: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 |
joe-conigliaro
|
2a40665919
|
ast/checker: cast no longer needed & use auto deref
|
2020-05-11 20:02:28 +10:00 |
joe-conigliaro
|
1b3cd7abe0
|
cgen: fix sum type assign/push from in match branch & type mod
|
2020-05-11 16:59:55 +10:00 |
Ned Palacios
|
5f0ad0f562
|
compiler: add output mode for errors and warnings, support for `-silent` flag
|
2020-05-10 12:26:57 +03:00 |
Alexander Medvednikov
|
09f6cd6a75
|
parser/checker: [ref_only] attribute
|
2020-05-09 23:45:41 +02:00 |
Alexander Medvednikov
|
c64f8b0d1f
|
parser/checker: pub: struct fields
|
2020-05-09 15:16:48 +02:00 |
Ned Palacios
|
5b47ec49af
|
parser: add support for multiple struct field attributes
|
2020-05-08 15:09:42 +02:00 |
Enzo Baldisserri
|
0f8ed84333
|
checker: verify interface is not used as receiver
|
2020-05-07 11:14:51 +03:00 |
Delyan Angelov
|
f638caef39
|
compiler: v -autofree can now compile itself
|
2020-05-06 19:03:51 +03:00 |
Alexander Medvednikov
|
f80876497e
|
fmt: use the new `mut` syntax in args
|
2020-05-06 12:43:46 +02:00 |
Alexander Medvednikov
|
cc66eb1194
|
parser/checker: check capital letters in interface names/methods
|
2020-05-06 12:26:00 +02:00 |
yuyi
|
51f3f31a4e
|
checker: check string(1) cast error
|
2020-05-06 12:05:24 +02:00 |
Alexander Medvednikov
|
a0ca68ce3f
|
checker: do not allow `string(int)`
|
2020-05-05 15:26:42 +02:00 |
joe-conigliaro
|
d75f286230
|
parser: store FnDecl body position and use for scope
|
2020-05-04 20:31:34 +10:00 |
Delyan Angelov
|
242670a33d
|
compiler: add support for panic_debug with -cg
|
2020-05-03 22:13:59 +03:00 |
Delyan Angelov
|
7e4e3abc2c
|
compiler: circuimvent the dependency cycle v.ast <-> v.table
|
2020-05-02 22:52:10 +03:00 |
joe-conigliaro
|
483f0f408c
|
ast: allow scope var shadowing
|
2020-05-02 23:46:53 +10:00 |
Tanel Liiv
|
68ca8ab8a4
|
array: nested map()
|
2020-05-02 15:26:58 +02:00 |
Henrixounez
|
c500044bae
|
checker: unreachable code warning
|
2020-04-29 12:31:18 +02:00 |
Alexander Medvednikov
|
2fc05b814c
|
all: interface arrays
|
2020-04-29 12:21:15 +02:00 |
Enzo Baldisserri
|
682838a0cf
|
checker: check array and fields mutability
|
2020-04-27 22:53:26 +02:00 |
joe-conigliaro
|
9f76a7b250
|
parser: simplify unused vars & add loop/if vars etc
|
2020-04-27 23:16:31 +10:00 |
Alexander Medvednikov
|
f23948010a
|
parser: new array init syntax
|
2020-04-26 17:28:48 +02:00 |
Alexander Medvednikov
|
3ab8dc0092
|
parser: array init: `[]string` => `[]string{}`
|
2020-04-26 09:17:17 +02:00 |
Enzo Baldisserri
|
c73d91a8fe
|
fmt: TypeDecl; format more files
|
2020-04-25 20:58:00 +02:00 |
yuyi
|
c26e83f58a
|
array: fix fixed array errors
|
2020-04-25 18:26:38 +02:00 |
Enzo Baldisserri
|
fb54a2635c
|
fmt: lots of fixes
|
2020-04-25 17:49:16 +02:00 |
Delyan Angelov
|
a20bef65ba
|
fmt: workaround a vfmt limitation preventing formatting of vlib/v/ast/ast.v
|
2020-04-25 17:34:42 +03:00 |
Delyan Angelov
|
9a19531909
|
compiler: add support for `[if myflag]` void fn/methods
|
2020-04-25 16:57:11 +03:00 |
joe-conigliaro
|
fbcdffbbc8
|
table: move Type functions to methods
|
2020-04-25 17:08:53 +10:00 |
Enzo Baldisserri
|
323ca2b3bb
|
checker: check duplicates on match with no else
Refactor match duplication test to work even if there is not else, and to include every expression.
Add tests for duplicate expressions in match.
|
2020-04-24 17:04:39 +03:00 |
Delyan Angelov
|
adb8fb1dc6
|
comptime: fix custom -d flags and `$if x? {}`. Fixes ftp_test.v .
|
2020-04-23 17:52:44 +03:00 |
Enzo Baldisserri
|
7e400124e8
|
parser: allow blank ident in nested loops
|
2020-04-23 12:00:51 +02:00 |