|
f44a40eee0
|
checker: check incorrect names
|
2020-05-16 16:12:23 +02:00 |
|
|
44502a3fb2
|
parser: return multi expr
|
2020-05-15 23:14:53 +02:00 |
|
|
6d0b791ac8
|
parser: warning about unused imports
|
2020-05-14 17:14:24 +02:00 |
|
|
33a9822548
|
parser/vfmt: handle array len and default in array init
|
2020-05-13 16:11:52 +02:00 |
|
|
1c8e14c77c
|
vfmt: handle comments in const blocks
|
2020-05-12 00:09:59 +02:00 |
|
|
2a40665919
|
ast/checker: cast no longer needed & use auto deref
|
2020-05-11 20:02:28 +10:00 |
|
|
1b3cd7abe0
|
cgen: fix sum type assign/push from in match branch & type mod
|
2020-05-11 16:59:55 +10:00 |
|
|
5f0ad0f562
|
compiler: add output mode for errors and warnings, support for -silent flag
|
2020-05-10 12:26:57 +03:00 |
|
|
09f6cd6a75
|
parser/checker: [ref_only] attribute
|
2020-05-09 23:45:41 +02:00 |
|
|
c64f8b0d1f
|
parser/checker: pub: struct fields
|
2020-05-09 15:16:48 +02:00 |
|
|
5b47ec49af
|
parser: add support for multiple struct field attributes
|
2020-05-08 15:09:42 +02:00 |
|
|
0f8ed84333
|
checker: verify interface is not used as receiver
|
2020-05-07 11:14:51 +03:00 |
|
|
f638caef39
|
compiler: v -autofree can now compile itself
|
2020-05-06 19:03:51 +03:00 |
|
|
f80876497e
|
fmt: use the new mut syntax in args
|
2020-05-06 12:43:46 +02:00 |
|
|
cc66eb1194
|
parser/checker: check capital letters in interface names/methods
|
2020-05-06 12:26:00 +02:00 |
|
|
51f3f31a4e
|
checker: check string(1) cast error
|
2020-05-06 12:05:24 +02:00 |
|
|
a0ca68ce3f
|
checker: do not allow string(int)
|
2020-05-05 15:26:42 +02:00 |
|
|
d75f286230
|
parser: store FnDecl body position and use for scope
|
2020-05-04 20:31:34 +10:00 |
|
|
242670a33d
|
compiler: add support for panic_debug with -cg
|
2020-05-03 22:13:59 +03:00 |
|
|
7e4e3abc2c
|
compiler: circuimvent the dependency cycle v.ast <-> v.table
|
2020-05-02 22:52:10 +03:00 |
|
|
483f0f408c
|
ast: allow scope var shadowing
|
2020-05-02 23:46:53 +10:00 |
|
|
68ca8ab8a4
|
array: nested map()
|
2020-05-02 15:26:58 +02:00 |
|
|
c500044bae
|
checker: unreachable code warning
|
2020-04-29 12:31:18 +02:00 |
|
|
2fc05b814c
|
all: interface arrays
|
2020-04-29 12:21:15 +02:00 |
|
|
682838a0cf
|
checker: check array and fields mutability
|
2020-04-27 22:53:26 +02:00 |
|
|
9f76a7b250
|
parser: simplify unused vars & add loop/if vars etc
|
2020-04-27 23:16:31 +10:00 |
|
|
f23948010a
|
parser: new array init syntax
|
2020-04-26 17:28:48 +02:00 |
|
|
3ab8dc0092
|
parser: array init: []string => []string{}
|
2020-04-26 09:17:17 +02:00 |
|
|
c73d91a8fe
|
fmt: TypeDecl; format more files
|
2020-04-25 20:58:00 +02:00 |
|
|
c26e83f58a
|
array: fix fixed array errors
|
2020-04-25 18:26:38 +02:00 |
|
|
fb54a2635c
|
fmt: lots of fixes
|
2020-04-25 17:49:16 +02:00 |
|
|
a20bef65ba
|
fmt: workaround a vfmt limitation preventing formatting of vlib/v/ast/ast.v
|
2020-04-25 17:34:42 +03:00 |
|
|
9a19531909
|
compiler: add support for [if myflag] void fn/methods
|
2020-04-25 16:57:11 +03:00 |
|
|
fbcdffbbc8
|
table: move Type functions to methods
|
2020-04-25 17:08:53 +10:00 |
|
|
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 |
|
|
adb8fb1dc6
|
comptime: fix custom -d flags and $if x? {} . Fixes ftp_test.v .
|
2020-04-23 17:52:44 +03:00 |
|
|
7e400124e8
|
parser: allow blank ident in nested loops
|
2020-04-23 12:00:51 +02:00 |
|
|
d7ee4755c2
|
parser/cgen: interfaces (part 1)
|
2020-04-22 20:23:53 +02:00 |
|
|
155891a4e0
|
parser: add unused variable warning
|
2020-04-22 01:52:56 +02:00 |
|
|
ee2e83fef0
|
go back to mut . decisions, decisions...
|
2020-04-21 05:11:50 +02:00 |
|
|
cdb1b0344c
|
checker: improve type check for arithmetic assignment op and fix error pos
|
2020-04-20 20:56:05 +02:00 |
|
|
717e26b45e
|
checker: more infix checks
|
2020-04-20 14:49:26 +02:00 |
|
|
57c142b993
|
checker: disallow pub in main
|
2020-04-19 00:07:57 +02:00 |
|
|
f2be3d7ffb
|
checker: check that right is type exists
|
2020-04-18 00:19:33 +02:00 |
|
|
73073cd954
|
parser: anonymous functions (part 1)
|
2020-04-17 21:59:19 +02:00 |
|
|
402e55d115
|
ast: expr.Position; struct field refactoring
|
2020-04-17 02:38:39 +02:00 |
|
|
714ff50322
|
fmt: use the new receiver syntax
|
2020-04-16 15:42:40 +02:00 |
|
|
8a1248b2e7
|
builder: restore module import cycle detection/topological reorder
|
2020-04-16 12:29:36 +03:00 |
|
|
6a186e8f11
|
jsgen: implement js backend
|
2020-04-15 23:16:49 +02:00 |
|
|
da28bc7026
|
Revert "fmt: (var f Foo) "
This reverts commit 4b110756e0 .
|
2020-04-15 04:15:42 +02:00 |
|