ChAoS_UnItY
|
8cd01e0eac
|
cgen: fix error caused by fixed size array init syntax with variable it (#12314)
|
2021-10-28 02:20:49 +03:00 |
playX
|
cfecb62299
|
js: DOM API. Part 1 (#12296)
|
2021-10-27 23:18:09 +03:00 |
Delyan Angelov
|
0ff23eeb74
|
ci: fix failing assign_expr_channel_push.out
|
2021-10-27 22:54:41 +03:00 |
Delyan Angelov
|
f79bc8619a
|
scanner: remove unused .line_ends field
|
2021-10-27 22:37:00 +03:00 |
Lucas Jenß
|
43fbc68f1e
|
checker: disallow `<-` (channel push) on right-hand side of assignment (fix #12309) (#12321)
|
2021-10-27 17:53:50 +03:00 |
Delyan Angelov
|
159a9c3070
|
markused: fix `-skip-unused` on programs with generic methods (fix #12306)
|
2021-10-27 17:22:26 +03:00 |
yuyi
|
943a807d30
|
parser: implement generics method with auto multi generic types (#12312)
|
2021-10-27 15:41:13 +03:00 |
Wertzui123
|
ea6d2d53db
|
parser: disallow `for mut in range` (fix #12234) (#12277)
|
2021-10-27 14:55:36 +03:00 |
Lucas Jenß
|
d7fd4a563b
|
parser: remove commented out debug statement (#12316)
|
2021-10-27 14:30:22 +03:00 |
Andreas Schoeller
|
f14dabc6bd
|
math.big: add a new greatest-common-divisor-algo for big.Integer, also add a benchmark for it (#12261)
|
2021-10-26 11:10:13 +03:00 |
yuyi
|
f62b2dcfa7
|
table: fix generic method with multi generic types (#12297)
|
2021-10-26 11:00:27 +03:00 |
yuyi
|
ac99007cab
|
table: fix generic sumtype instantiations (#12288)
|
2021-10-25 15:22:41 +03:00 |
Delyan Angelov
|
45c1c1ab41
|
ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private)
|
2021-10-24 22:06:32 +03:00 |
playX
|
2eae4cf63e
|
js: fix optional error propagation (#12283)
|
2021-10-24 15:56:44 +03:00 |
Delyan Angelov
|
c340906280
|
cgen: cleanup vinit_string_literals, _vcleanup and reload_so declarations
|
2021-10-24 15:29:42 +03:00 |
zakuro
|
242b99340d
|
vfmt: fix bug where duplicated comma is placed before comment in array init (#12281)
|
2021-10-24 12:05:34 +03:00 |
Delyan Angelov
|
008d15dcb5
|
builder,pref: add support for `-no-builtin` (useful for writing Linux kernel modules)
|
2021-10-23 12:53:53 +03:00 |
playX
|
864d6eae6b
|
js: codegen & vlib fixes, replace the Game of Life CLI example (#12272)
|
2021-10-22 22:03:19 +03:00 |
Delyan Angelov
|
eed94c727c
|
os: move C struct declarations in their own _default.c.v files (#12268)
|
2021-10-22 17:08:08 +03:00 |
ChAoS_UnItY
|
5b69593766
|
cgen,js: fix missing break in switch case, generated by match with range branches (#12260)
|
2021-10-21 22:30:05 +03:00 |
czkz
|
da7dad07a3
|
builder: fix sigint handling for `v run` (#12246)
|
2021-10-21 16:40:32 +03:00 |
yuyi
|
ff02c19827
|
table, builder, checker: cleanup unwrap_generic (#12241)
|
2021-10-21 05:48:02 +03:00 |
Lance Fredrickson
|
7c1fff3495
|
builder: pass `-std=gnu99` to the C backend under linux (#12236)
|
2021-10-20 14:26:25 +03:00 |
05st
|
3e52d54586
|
cgen: fix match expr when evaluating to sumtype (#12237)
|
2021-10-20 11:52:11 +03:00 |
ChAoS_UnItY
|
ab350d52ec
|
cgen: support RangeExpr while emitting enum switch case (#12226)
|
2021-10-19 17:02:22 +03:00 |
Delyan Angelov
|
f2cda1a529
|
parser: update p.inside_or_expr consistently (fix `v fmt -w vls/analyzer/symbol_registration.v`)
|
2021-10-19 13:36:10 +03:00 |
yuyi
|
6aca360507
|
parser: fix checking unexpected name (#12233)
|
2021-10-19 12:27:59 +03:00 |
playX
|
c1aa782a6c
|
js,checker: fix some modules build for `v -b js self`, fix `or block` check in ast.CallExpr (#12231)
|
2021-10-19 12:11:54 +03:00 |
Delyan Angelov
|
b23984a211
|
builder: only print the thirdparty object rebuilding line with '-v'
|
2021-10-18 13:28:09 +03:00 |
ChAoS_UnItY
|
53c2e262f1
|
cgen & jsgen: generate when possible a `switch` from `match x {` (#12216)
|
2021-10-18 10:59:52 +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
|
5dd3864617
|
markused: fix `v -skip-unused cmd/tools/vpm.v` regression after 98b2bdb
|
2021-10-18 08:43:56 +03:00 |
Delyan Angelov
|
735c961682
|
autofree: add skipped string_plus_string_plus.v sample
|
2021-10-17 19:46:35 +03:00 |
czkz
|
3a073329ff
|
builder: use os.new_process() instead of os.system() in v run (#12214)
|
2021-10-17 19:01:34 +03:00 |
yuyi
|
a006090b08
|
ast: minor cleanup of register_type_symbol (#12213)
|
2021-10-17 15:50:42 +03:00 |
05st
|
fd3a10ab43
|
checker: fix mut check bypass with for in loops (#12208)
|
2021-10-17 06:41:39 +03:00 |
Delyan Angelov
|
dee4ffbc99
|
builder: make -usecache rebuild cached, but changed modules, and their dependants (#12193)
|
2021-10-15 12:22:59 +03:00 |
yuyi
|
c108e01917
|
checker: fix generic fn return types with generic struct (#12186)
|
2021-10-15 11:50:10 +03:00 |
yuyi
|
27cd21e459
|
cgen: fix infix ops, for cross assignments of types with overloaded operators (#12192)
|
2021-10-15 11:32:58 +03:00 |
playX
|
814b4ebb4c
|
term: get_terminal_size() for js_node, term.clear() for all js backends (#12189)
|
2021-10-15 10:10:40 +03:00 |
ChAoS_UnItY
|
4d1307f29b
|
all: index accessor in array init expression (#12181)
|
2021-10-15 03:57:49 +03:00 |
yuyi
|
c9b2f878b3
|
parser, checker: optimize checking generic struct type mismatch (#12179)
|
2021-10-15 00:11:31 +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
|
05885059bd
|
cgen: remove the extra generated parentheses of single in_expr (fix #12158) (#12168)
|
2021-10-14 11:38:16 +03:00 |
ChAoS_UnItY
|
6f629d1a6a
|
transformer: eliminate unreachable branches & redundant branch expressions in MatchExpr (#12174)
|
2021-10-14 02:15:52 +03:00 |
yuyi
|
97e999768a
|
checker: fix generic fn return array of generic struct (#12170)
|
2021-10-13 21:21:32 +03:00 |
playX
|
d373eba79b
|
js: implement more functions for JS backend (#12167)
|
2021-10-13 09:40:14 +03:00 |
pancake
|
ade5774313
|
native: fix return `a+b` infix construction (#12161)
|
2021-10-12 19:38:17 +03:00 |
Delyan Angelov
|
6c728cf389
|
js: add draft support for -skip-unused (hello_world.v works)
|
2021-10-12 19:34:37 +03:00 |
pancake
|
1d2b56d71d
|
native: fix example exit((1,2)->(a,b)return a+b) (#12154)
|
2021-10-12 18:51:28 +03:00 |