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

13138 Commits

Author SHA1 Message Date
a5b98cb267 parser: check fn decl multi return types without parentheses (#14508) 2022-05-24 05:15:31 +03:00
5ade39f8db cgen: fix sizeof('str') and sizeof(r'str') (#14507) 2022-05-24 05:14:38 +03:00
953ef1f8c9 pref: add support for -dump-files - and for -dump-modules - 2022-05-23 19:51:21 +03:00
dda49fe735 v.builder: support -dump-c-flags with -cc msvc too 2022-05-23 18:29:39 +03:00
a3c0a9b791 checker: minor optimization in fn_call() and method_call() (#14503) weekly.2022.21 2022-05-23 08:00:57 +03:00
4ef9e2c05a parser: fix sizeof(c'str') (fix #14499) (#14502) 2022-05-23 01:59:39 +03:00
863eeca2e0 checker: vfmt checker.v 2022-05-23 00:12:37 +03:00
5e95bdc451 checker: allow but deprecate propagating result as option (#14500) 2022-05-23 00:11:29 +03:00
7f03b89611 checker: check method call argument type mismatch (#14496) 2022-05-22 22:16:46 +03:00
ba859c584b builtin: add static GC support on Windows with TCC (#14497) 2022-05-22 21:25:46 +03:00
5328dabad1 time: simplify some very commonly used t.format methods 2022-05-22 21:09:49 +03:00
e5ff2ab455 ci: run on all branches on forks (#14498) 2022-05-22 20:19:04 +03:00
1f3336c9d3 checker: fix map get anon fn value with mut argument (fix #14479) (#14493) 2022-05-22 16:28:53 +03:00
245d28d57a checker: c2v infix fix 2022-05-22 14:53:21 +03:00
d3ffd983c8 markused: add _result_ok (#14495) 2022-05-22 14:52:38 +03:00
3647fb4def rand: move dist functions to top module and PRNG interface; minor cleanup (#14481) 2022-05-22 13:21:52 +03:00
64a686f41f examples: speed up mandelbrot.v by using a constant size thread pool, processing smaller chunks 2022-05-22 11:12:16 +03:00
50ab2cfd1a fmt: fix 'strings' name variable call generate auto import (fix #9713) (#14485) 2022-05-21 15:01:58 +03:00
0ceb16f285 v.builder: use /NOLOGO, when building cached object files with msvc 2022-05-21 12:56:24 +03:00
c0dcc80e18 cgen: support -profile - for _test.v files too 2022-05-21 10:59:01 +03:00
a7afb2d1eb time: remove import math dependency, by implementing a simpler version of mceil 2022-05-21 02:04:17 +03:00
Ben
971c55cf30 os: add norm_path and abs_path function (#14435) 2022-05-21 01:16:29 +03:00
efc5cab8c3 checker,cgen: allow result if guard (#14474) 2022-05-20 19:34:53 +03:00
53c217fe5e cgen: do not generate _vinit() for translated .o code 2022-05-20 19:28:37 +03:00
17bba712bd checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
d81fbb1ccd ci: only run on master (#14476) 2022-05-20 18:27:35 +03:00
dd1049f21d thirdparty: fix typo in atomic.h, cleanup comments. 2022-05-20 14:21:31 +03:00
28b0cbddad parser: check error for script mode that define main function (fix #14467) (#14469) 2022-05-20 14:20:18 +03:00
913164bc73 builtin: minor cleanup in string_interpolation.v (#14471) 2022-05-20 14:19:27 +03:00
bf44572f30 fmt: fix chain calls with comments (#14470) 2022-05-20 11:47:44 +03:00
11bdb04d0c json: fix struct field default value support (#14304) 2022-05-20 11:22:17 +03:00
ca00b59b3f tests: make potential failures in urllib_test.v more informative 2022-05-20 08:49:56 +03:00
120f31b4d9 math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
23568f19da url: fix parse (#14456) 2022-05-20 02:58:58 +03:00
95d24e543d checker, cgen: fix shared non-decl assignment (#14466) 2022-05-20 02:58:11 +03:00
55e7daa2f9 cgen: simplify auto_str_methods.v (#14463) 2022-05-19 22:29:15 +03:00
46f94e8d68 cgen: fix autostr of shared fields (#14455) 2022-05-19 17:00:27 +03:00
a52fbc5e51 checker: forbid optional variable (#14460) 2022-05-19 16:04:44 +03:00
3291c59ebf cgen: minor cleanup in auto_str_methods.v (#14461) 2022-05-19 14:02:07 +03:00
634e8c3624 vfmt: keep selective imported names used for generic calls 2022-05-19 12:48:43 +03:00
15c62bc8e8 parser: improve error messages of 'for val in array' (#14459) 2022-05-19 11:53:27 +03:00
25812e52f0 ci: use V_CI_CSTRICT=1 consistently for every v -cstrict test-self 2022-05-19 11:52:31 +03:00
a52590572f tests: fix the push_work_on_channel.vv output 2022-05-19 11:30:36 +03:00
3d5617c4fa tests: re-add the disambiguated for (val in [TokenValue(+), TokenValue(-)]) { test 2022-05-19 08:31:03 +03:00
809b1ca3b4 Revert "parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451)"
This reverts commit b482c0512b.
2022-05-19 08:29:30 +03:00
b482c0512b parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451) 2022-05-18 20:38:53 +03:00
805a7d9713 ci: skip more .vv files on specific jobs 2022-05-18 20:04:59 +03:00
5b96f7e8fd checker: split up infix.v from checker.v (#14449) 2022-05-18 14:52:53 +03:00
4cbfa884c5 cgen: fix another error for 'in array of sumtype' (#14448) 2022-05-18 14:39:35 +03:00
f2447a4bd8 tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00