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 |
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 |
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 |
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
yuyi
|
448938be0d
|
parser: fix generic anon fn decl with type only argument (#14124)
|
2022-04-21 12:53:13 +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 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
3e3b2e25db
|
parser, fmt: fix the formatting of fn headers with inline comments (#14010)
|
2022-04-11 22:31:06 +03:00 |
Vincenzo Palazzo
|
359f16fdfd
|
parser: fixed parsing prototype function with recursive type (#13922)
|
2022-04-05 18:39:49 +03:00 |
Vincenzo Palazzo
|
51c1d666c2
|
checker: fix operator overloads (for large structs with > 8 fields, the method receiver is normally auto converted to a reference) (#13889)
|
2022-04-03 19:30:29 +03:00 |
yuyi
|
bc98c11d9d
|
parser, checker, cgen: minor cleanup of go_expr() (#13875)
|
2022-03-31 19:58:04 +03:00 |
Delyan Angelov
|
bea0d500d0
|
parser: ignore upper letter case restriction for `fn C.xyz` declarations
|
2022-03-26 21:20:28 +02:00 |
Nick Treleaven
|
fcb57312b9
|
parser: error if parameter name starts with a capital (#13827)
|
2022-03-26 19:56:34 +02:00 |
yuyi
|
c1c3ae2a18
|
parser: minor cleanup in fn_args() (#13711)
|
2022-03-11 10:42:03 +02:00 |
yuyi
|
3f351036a2
|
parser: fix error for fn with type only argument (fix #13704) (#13709)
|
2022-03-10 22:52:06 +02:00 |
ChAoS_UnItY
|
63b41e67fa
|
v.parser: change body_start_pos to function declaration's lcbr, resolve #13642 (#13646)
|
2022-03-03 19:51:27 +02:00 |
yuyi
|
bc16c61f6f
|
parser: check using 'mut' on fn_decl return type (#13610)
|
2022-02-27 14:23:43 +02:00 |
Larpon
|
d80f5165dd
|
fmt: keep trailing comments after fn header decl (#13596)
|
2022-02-25 16:36:48 +03:00 |
yuyi
|
b5e7cef1b1
|
ast: define 'const invalid_type_idx = -1' (#13573)
|
2022-02-23 11:54:43 +03:00 |
Alexander Medvednikov
|
5a14748e7c
|
cgen: c2v enum fix
|
2022-02-16 12:05:32 +03:00 |
Delyan Angelov
|
799c95dc4e
|
tests: filter test_ fns with params from the list of automatically run test functions (fix #13443)
|
2022-02-12 17:30:20 +02:00 |
yuyi
|
7178367de0
|
all: fix error for comptime for in field with generic fn (fix #13409) (#13439)
|
2022-02-11 22:00:13 +02:00 |
Delyan Angelov
|
9ed18efa53
|
checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419)
|
2022-02-10 12:26:30 +02:00 |
yuyi
|
f2eb50008d
|
parser, checker: cleanup struct short syntax processing (#13416)
|
2022-02-09 18:31:16 +02:00 |
div72
|
939bc9f26f
|
v.parser: fix compilation of normal .v files with -translated (#13363)
|
2022-02-06 12:53:20 +02:00 |
div72
|
cec7e91714
|
v.parser, v.checker, v.gen: add support for [translated] tag (#13373)
|
2022-02-06 00:16:02 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
yuyi
|
155f897270
|
ast, parser, checker: fix generic struct field with default struct value (#13158)
|
2022-01-13 22:25:25 +02:00 |
yuyi
|
86ba4517b1
|
parser: check error of anon fn argument type (#13103)
|
2022-01-09 16:15:34 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Delyan Angelov
|
43fee6b3d5
|
all: fix registration of methods with the same name on different generic structs
|
2021-12-28 21:42:48 +02:00 |
Daniel Däschle
|
35282396ec
|
all: inline sum types (#12912)
|
2021-12-25 18:26:40 +03:00 |
Delyan Angelov
|
db1175e455
|
parser: handle `[noreturn]` on methods too
|
2021-12-22 19:58:37 +02:00 |
yuyi
|
cd0b581445
|
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
|
2021-12-19 18:25:18 +02:00 |
ChAoS_UnItY
|
50d988ebc7
|
v.parser: forbid unsupported language functions/types in specific backends (#12655)
|
2021-12-18 10:00:31 +02:00 |
Delyan Angelov
|
6ff953d936
|
preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523)
|
2021-12-16 15:59:46 +02:00 |
Delyan Angelov
|
df7f2aa8a3
|
all: support `[markused]` tags for fns/consts/globals
|
2021-12-15 14:34:49 +02:00 |
yuyi
|
7fc9e614a3
|
ast, parser, checker: fix generic fn in builtin module (#12769)
|
2021-12-09 21:37:43 +02:00 |
playX
|
2eb02ff5a7
|
jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488)
|
2021-11-17 11:41:33 +02:00 |
playX
|
6c32c544e1
|
js,parser: allow declaring methods on JS interfaces for easier FFI (#12447)
|
2021-11-13 11:08:17 +02:00 |
yuyi
|
8f4180ea09
|
parser: check generic parameters error of generic struct declaration (#12418)
|
2021-11-09 09:25:57 +02:00 |
Delyan Angelov
|
c4e282a0c8
|
parser: check fn args in declarations too with `-Wimpure-v`
`v -Wimpure-v examples/2048/` now passes cleanly.
|
2021-11-03 16:20:24 +02:00 |
yuyi
|
943a807d30
|
parser: implement generics method with auto multi generic types (#12312)
|
2021-10-27 15:41:13 +03:00 |
playX
|
a3de67de28
|
js: support WASM interoperability using `wasm_import`/`wasm_export` fn tags (#12212)
|
2021-10-18 10:56:21 +03:00 |
Delyan Angelov
|
4c2cb1b6df
|
vdoc: prevent leaking to the docs the `pure_v_but_overriden_by_` prefix
|
2021-10-14 11:47:50 +03:00 |
yuyi
|
f1742a6f62
|
v.ast: change 'type.to_ptr()' to 'type.ref()' (#12086)
|
2021-10-06 20:49:39 +03:00 |
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
Enzo
|
ccf6285f82
|
checker: allow mut arg on C functions (#11430)
|
2021-09-11 14:25:38 +03:00 |