Delyan Angelov
|
cdf70c070b
|
tests: add panic_with_cg.vv/.out
|
2020-05-04 14:34:51 +03:00 |
joe-conigliaro
|
57903247e3
|
parser: add back struct field removed by accident
|
2020-05-04 21:27:54 +10:00 |
joe-conigliaro
|
d75f286230
|
parser: store FnDecl body position and use for scope
|
2020-05-04 20:31:34 +10:00 |
Enzo Baldisserri
|
4b3ce79e84
|
interface: support arguments in methods and simplify
|
2020-05-04 00:14:59 +02:00 |
Delyan Angelov
|
242670a33d
|
compiler: add support for panic_debug with -cg
|
2020-05-03 22:13:59 +03:00 |
Uwe Krüger
|
4a096bd133
|
parser: fix string interpolation for default conversion
|
2020-05-03 18:12:59 +02: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 |
Delyan Angelov
|
7038f59ca5
|
compiler: add back support for -live
|
2020-05-02 01:14:44 +03:00 |
eyelash
|
130324df76
|
compiler: remove debug prints
|
2020-05-02 00:10:36 +02:00 |
yuyi
|
b21be7f670
|
parser: multiple names error
|
2020-05-01 18:18:58 +02:00 |
yuyi
|
de272654f1
|
repl: fix import xxx with no fn main error
|
2020-05-01 18:12:18 +02:00 |
Alexander Medvednikov
|
f1903f3c1f
|
parser: fix imported interfaces
|
2020-04-30 18:06:14 +02:00 |
Alexander Medvednikov
|
9971c58ca3
|
all: remove `var` key
|
2020-04-30 16:55:33 +02:00 |
yuyi
|
5481c0fc84
|
parser: uniform handling of enum field format
|
2020-04-30 12:18:16 +02:00 |
yuyi
|
81ed6ad2a1
|
checker: check duplicate consts
|
2020-04-30 12:17:31 +02:00 |
Delyan Angelov
|
e5ae4b6454
|
parser: fix match exprs over C.VALUES (needed for C.GLFW_KEY_UP)
|
2020-04-29 20:35:57 +03:00 |
Enzo Baldisserri
|
390d88f933
|
parser: fail for section redefinition in struct
|
2020-04-29 13:32:39 +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 |
Delyan Angelov
|
e67bf674e3
|
scanner: cleanup, only v.parser now depends on v.scanner
|
2020-04-27 16:08:04 +03:00 |
Alexander Medvednikov
|
f23948010a
|
parser: new array init syntax
|
2020-04-26 17:28:48 +02:00 |
yuyi
|
2574dce174
|
all: fix remaining `[]array` warnings
|
2020-04-26 16:25:54 +02:00 |
yuyi
|
9f4d498ff1
|
all: update`import ()` and `[]array`
|
2020-04-26 13:49:31 +02:00 |
Alexander Medvednikov
|
41eb4453e3
|
parser: do not allow redefinition of fn args
|
2020-04-26 12:01:10 +02:00 |
Alexander Medvednikov
|
0641a31fe0
|
parser: allow mutable pointer args
|
2020-04-26 11:53:41 +02:00 |
Alexander Medvednikov
|
3c08f655af
|
parser: do not allow mutable simple args
|
2020-04-26 10:35:10 +02:00 |
Alexander Medvednikov
|
a56121c329
|
checker: check mutability in index exprs; parser: set is_mut for args
|
2020-04-26 10:25:58 +02:00 |
Delyan Angelov
|
ee31339dfd
|
parser: fix error position for use `x := []Type{}`
|
2020-04-26 10:42:46 +03:00 |
Alexander Medvednikov
|
3ab8dc0092
|
parser: array init: `[]string` => `[]string{}`
|
2020-04-26 09:17:17 +02:00 |
Alexander Medvednikov
|
a48080afec
|
parser: deprecate import(); replace remaining import()s
|
2020-04-26 07:36:02 +02:00 |
Alexander Medvednikov
|
f7153ca4fa
|
fmt: array_init(); parser: fn_redefinition_error()
|
2020-04-26 07:17:01 +02:00 |
Alexander Medvednikov
|
3166833471
|
parser: fix interface method return type parsing
|
2020-04-26 07:03:26 +02:00 |
yuyi
|
541b058e90
|
all: use `a !in b` instead of `!(a in b)`
|
2020-04-26 06:39:23 +02:00 |
Alexander Medvednikov
|
8000eb3656
|
parser: revert silent _ prefix rule
|
2020-04-26 05:34:34 +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
|
9a19531909
|
compiler: add support for `[if myflag]` void fn/methods
|
2020-04-25 16:57:11 +03:00 |
Delyan Angelov
|
945f964c0c
|
parser: stay silent about unused variables starting with _
|
2020-04-25 15:38:15 +03:00 |
joe-conigliaro
|
41cc96aaec
|
revert parser: simplify array push detection
|
2020-04-25 18:57:12 +10:00 |
joe-conigliaro
|
4675656786
|
parser: simplify array push detection
|
2020-04-25 18:42:53 +10:00 |
joe-conigliaro
|
9fff8733a0
|
parser: allow deref assign without parens pt1
|
2020-04-25 18:07:30 +10:00 |
joe-conigliaro
|
6696e1a6e2
|
table: move set_nr_muls to method
|
2020-04-25 17:54:32 +10:00 |
Alexander Medvednikov
|
d54b48b300
|
table: interface cast fix
|
2020-04-25 09:18:10 +02:00 |
joe-conigliaro
|
fbcdffbbc8
|
table: move Type functions to methods
|
2020-04-25 17:08:53 +10:00 |
Alexander Medvednikov
|
f1f9e423c3
|
interfaces: preparatory fixes
|
2020-04-25 08:00:44 +02:00 |
Enzo Baldisserri
|
fa4739794f
|
checker: fix "unnecessary `()`" error position
|
2020-04-24 20:27:18 +02:00 |
Delyan Angelov
|
cc4090cc74
|
vfmt: remove unused variable check for vfmt
|
2020-04-24 20:25:11 +03:00 |