1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

13177 Commits

Author SHA1 Message Date
f956acd2f6 ci: restore the v -autofree . step for gitly (gitly now has a workaround) 2022-05-07 12:55:40 +03:00
9e8e364493 ci: comment out the go2v testing step for now 2022-05-07 12:55:39 +03:00
ca42ace367 Revert "checker: remove more unnecessary void errors"
This reverts commit 89c1e7f980.
2022-05-07 11:03:12 +03:00
35cfa0da7c doc: closures work on arm64 too 2022-05-07 11:02:53 +03:00
6a6c005dc0 checker: c2v fixes (#14332) 2022-05-07 09:50:41 +03:00
9fb8de14dd doc: closures now work on Windows 2022-05-07 09:49:33 +03:00
89c1e7f980 checker: remove more unnecessary void errors 2022-05-07 09:09:18 +03:00
70184ad1f8 scanner: minor simplification in scanner.v (#14331) 2022-05-07 08:30:15 +03:00
14f06ead1b cgen: fix c2v consts; enum_decl() 2022-05-07 00:58:37 +03:00
621574c12a checker: fix error for generic method on nested struct (#14322) 2022-05-07 00:51:04 +03:00
0699f324b5 builtin: add map.values() (#14301) 2022-05-06 20:42:01 +03:00
ce99a306c0 net.http: make parse_form return POST requests with json data as a map with a json key, containing the json payload (#14289) 2022-05-06 20:23:36 +03:00
87de6df0e6 docs: update keyword list (#14319) 2022-05-06 20:17:45 +03:00
2027a1969b v.builder: harmonise the default settings of the different Windows compilers (#14314) 2022-05-06 19:28:13 +03:00
76cdf75299 builtin,cgen: rename Option to _option (#14317) 2022-05-06 19:25:54 +03:00
45fe87c9e3 checker: minor cleanup in fn_call() (#14307) 2022-05-05 21:15:54 +03:00
3091f31019 checker: check for optional argument in dump() (#14316) 2022-05-05 21:15:22 +03:00
634796ae42 examples: 2 new examples for graph algorithms (topological sorting) (#14303) 2022-05-05 18:08:08 +03:00
9fde5b067b docs: add missing function names in the builtin example doc comments (#14318) 2022-05-05 17:22:25 +03:00
89fe82b732 checker: fix returning error on reference results (#14313) 2022-05-05 17:02:49 +03:00
b6058bfd6e parser, checker: fix generic method on nested struct (fix #14089) (#14310) 2022-05-05 11:24:20 +03:00
8afdb1c3ef checker: c2v: allow passing fixed array as pointer to functions; bool <-> int (#14309) 2022-05-05 11:23:57 +03:00
7499506cf8 .gitignore: minor cleanup (#14279) 2022-05-05 10:17:24 +03:00
785e9af8f1 ci: comment out the v -autofree . step for gitly temporarily 2022-05-05 09:20:08 +03:00
7170a09382 vfmt: fix stackoverflow on long nested infix expressions 2022-05-05 07:41:43 +03:00
01c1892995 tools: fix building vdoctor.v with v build-tools 2022-05-04 23:30:44 +03:00
a6b3e5d6a5 ci: wrap the too long line in README.md that failed ./v check-md -hide-warnings . 2022-05-04 21:19:57 +03:00
Ned
76a7354506 builtin: add libbacktrace as option for generating stack traces (#14277) 2022-05-04 21:17:05 +03:00
4242e7610f checker: add comptime_selector() (#14286) 2022-05-04 19:25:58 +03:00
e2aa5c9b3f parser: make peek_token_after_var_list() private (#14288) 2022-05-04 19:25:45 +03:00
223b96a59a builtin: fix typo in array_bare.v (#14299) 2022-05-04 19:25:17 +03:00
1a4d9017e2 builtin: improve support for large arrays ([]int{len: 1_000_000_000} now works), fix an arr.repeat() bug (#14294) 2022-05-04 18:42:06 +03:00
af8be14639 readme: minor github markdown fix 2022-05-04 18:06:41 +03:00
ac90a2b53d checker: check error for fn call argument mismatch (fix #14280) (#14283) 2022-05-04 12:13:22 +03:00
3bd6455178 checker: allow rune->any int and vice versa when translated (#14285) 2022-05-04 12:08:34 +03:00
3d4b8dffdf checker: temporary c2v const fix 2022-05-04 08:28:27 +03:00
f321422964 checker, cgen: check comptime selector that has no field name (#14282) 2022-05-04 07:06:52 +03:00
1e9156fd71 checker: c2v rune comparison fix 2022-05-04 06:49:45 +03:00
3732db2bcc cgen: cleanup in gen_array_contains_methods() (#14274) 2022-05-03 20:46:07 +03:00
146051b231 checker: allow fixed array to pointer and vice versa when translated (#14275) 2022-05-03 20:44:45 +03:00
04a77c731e tests: add // vtest flaky: true to atomic_test.v 2022-05-03 20:42:12 +03:00
63eacede95 checker: check argument mismatch of array.filter/all/any() (#14273) weekly.2022.18 2022-05-03 16:56:18 +03:00
6da300428e doc: add JS backend mention (#14265) 2022-05-03 12:51:12 +03:00
276bd8060c cgen: fix error for fixed array in operate (#14269) 2022-05-03 12:45:04 +03:00
0e5c1cee48 builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250) 2022-05-03 09:17:53 +03:00
4da2908d63 vdoc: fix panic on empty // comment on v doc -f html file.v; turn expected code block after empty example to a warning 2022-05-03 00:02:12 +03:00
cf92224248 cleanup: delete x.v in project root folder (#14260) 2022-05-02 22:58:14 +03:00
ab1c265679 builtin: add missing panic_result_not_set/1 callback function. 2022-05-02 22:40:26 +03:00
db185598d2 checker: refactor comptime_if_branch (#14259) 2022-05-02 22:24:20 +03:00
990afe37e1 checker: fix a bug in generics array init (#14258) 2022-05-02 16:18:33 +03:00