yuyi
|
a396496b93
|
parser: fix cast or dump arguments ending with comma (#14552)
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
e9da92c61d
|
parser, cgen: fix cross assign with parentheses (#14545)
|
2022-06-05 11:12:08 +02:00 |
yuyi
|
740a862dcd
|
parser: fix match expr case with struct init (#14538)
|
2022-06-05 11:12:08 +02:00 |
yuyi
|
82332344de
|
fmt: fix fn return types list ending with comma (#14529)
|
2022-06-05 11:12:07 +02:00 |
Delyan Angelov
|
140d494d4c
|
all: add support for struct field deprecation (#14527)
|
2022-06-05 11:12:07 +02:00 |
Larpon
|
b9c283b2b8
|
embed_file: rename debug_embed_file_in_prod -> force_embed_file (#14523)
|
2022-06-05 11:12:07 +02:00 |
yuyi
|
7c46e94b25
|
parser: fix fmt error for json decode (#14520)
|
2022-05-25 12:55:03 +02:00 |
yuyi
|
96b80bcf9f
|
parser: check fn decl multi return types without parentheses (#14508)
|
2022-05-25 12:55:02 +02:00 |
yuyi
|
bf15ed95af
|
parser: fix sizeof(c'str') (fix #14499) (#14502)
|
2022-05-25 12:55:01 +02:00 |
yuyi
|
d6fcd24e9d
|
parser: check error for script mode that define main function (fix #14467) (#14469)
|
2022-05-25 12:54:58 +02:00 |
StunxFS
|
b15f50e9b1
|
json: fix struct field default value support (#14304)
|
2022-05-25 12:54:57 +02:00 |
yuyi
|
7c7d59acee
|
parser: improve error messages of 'for val in array' (#14459)
|
2022-05-19 12:16:19 +02:00 |
Delyan Angelov
|
bdc1375d00
|
Revert "parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451)"
This reverts commit b482c0512b.
|
2022-05-19 12:16:19 +02:00 |
yuyi
|
5acc130c60
|
parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451)
|
2022-05-19 12:16:19 +02:00 |
Delyan Angelov
|
a1bd9acf82
|
tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/
|
2022-05-19 12:16:18 +02:00 |
Larpon
|
21308289ad
|
checker: add test for empty #flag node, (fix #14291) (#14447)
|
2022-05-19 12:16:18 +02:00 |
yuyi
|
d6aa85d059
|
parser: fix panic for parse invalid map type (#14431)
|
2022-05-17 12:05:10 +03:00 |
Alexander Medvednikov
|
b42c824cdb
|
vweb: simplify @foo by removing V_TEMPLATE rule
|
2022-05-14 17:46:30 +03:00 |
Delyan Angelov
|
714ce4e7fc
|
ci: fix .out regression after d407a64
|
2022-05-13 11:18:17 +03:00 |
Daniel Däschle
|
d407a6449d
|
parser: fix dollar (closes #14292) (#14378)
|
2022-05-13 08:30:10 +03:00 |
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
Delyan Angelov
|
668d1b04d2
|
parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started
|
2022-05-12 21:14:00 +03:00 |
yuyi
|
f48f7014f0
|
checker: check error for generic sumtype types (#14374)
|
2022-05-12 11:57:57 +03:00 |
yuyi
|
3afc7c4c6d
|
parser: check error for generic struct parameter (#14362)
|
2022-05-11 13:24:54 +03:00 |
StunxFS
|
d24dce8eb3
|
parser,checker: support `$compile_error('message')` and `$compile_warn('message')` (#14320)
|
2022-05-09 08:18:26 +03:00 |
Delyan Angelov
|
7f974a275a
|
docs: fix `teh` typo
|
2022-05-07 12:55:40 +03:00 |
yuyi
|
b6058bfd6e
|
parser, checker: fix generic method on nested struct (fix #14089) (#14310)
|
2022-05-05 11:24:20 +03:00 |
yuyi
|
e2aa5c9b3f
|
parser: make peek_token_after_var_list() private (#14288)
|
2022-05-04 19:25:45 +03:00 |
yuyi
|
d72a25098a
|
parser: minor cleanup in interface_decl() (#14257)
|
2022-05-02 16:17:46 +03:00 |
yuyi
|
b9cf2db6a8
|
parser: fix inline array's element access (#14253)
|
2022-05-02 16:16:32 +03:00 |
spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
yuyi
|
cd30b6ea82
|
parser: make sure interface field names use uppercase letters (#14228)
|
2022-04-30 05:29:33 +03:00 |
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
yuyi
|
ec865cfb37
|
parser: check interface methods name (fix #14217) (#14218)
|
2022-04-29 15:48:03 +03:00 |
yuyi
|
317acfda97
|
checker: check struct field name using uppercase letters (#14220)
|
2022-04-29 14:57:14 +03:00 |
yuyi
|
7aca67fb60
|
ast, parser: fix complex map init (#14206)
|
2022-04-28 17:37:19 +03:00 |
Alexander Medvednikov
|
7dbfa86f25
|
all: atomic int fixes
|
2022-04-27 18:31:21 +03:00 |
yuyi
|
922cee9162
|
parser, checker, cgen: fix error for fn call using anon fn call argument (#14155)
|
2022-04-25 11:26:14 +03:00 |
Alexander Medvednikov
|
9355048b6c
|
tmpl: minor fixes and optimizations
|
2022-04-23 16:01:44 +03:00 |
yuyi
|
b86320a669
|
parser: minor cleanup in stmt() (#14136)
|
2022-04-22 22:33:13 +03:00 |
yuyi
|
448938be0d
|
parser: fix generic anon fn decl with type only argument (#14124)
|
2022-04-21 12:53:13 +03:00 |
Alexander Medvednikov
|
364656b312
|
builtin: define C.abs()
|
2022-04-20 13:03:30 +03:00 |
Alexander Medvednikov
|
c03fe020bf
|
parser: do not allow [x]byte{}
|
2022-04-15 20:40:37 +03:00 |
Alexander Medvednikov
|
78cb6e2b41
|
all: handle fixed []u8
|
2022-04-15 18:35:56 +03:00 |
Alexander Medvednikov
|
1c6f63ac0a
|
tests: use u8 everywhere
|
2022-04-15 18:34:15 +03:00 |
Alexander Medvednikov
|
0527ac633e
|
ast: remove .byte
|
2022-04-15 15:30:37 +03:00 |
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
Alexander Medvednikov
|
3b36f16365
|
all: volatile globals
|
2022-04-15 02:39:38 +03:00 |
Delyan Angelov
|
e555335bf0
|
ci: fix windows-msvc builds, as well as the windows-cross job, turn on deprecation notices for [windows_stdcall] and [_fastcall]
|
2022-04-14 13:36:51 +03:00 |