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

14321 Commits

Author SHA1 Message Date
0390a7a988 cgen: fix return match expr of sumtype result (#16264) 2022-10-30 20:26:33 +02:00
64cbadc6f1 scanner: fix new string interpolation println('{a}{b}{c}{d}') (#16258) 2022-10-30 20:18:31 +02:00
914f03a1a2 doc: document the -no-bounds-checking option in v help build 2022-10-30 15:05:02 +02:00
9edb48571f pref,cgen: support -no-bounds-checking, instead of -d no_bounds_checking, and make it enable direct_array_access for all fns/methods. 2022-10-30 14:39:45 +02:00
54b623743d native, checker: cast float_literal to f32 explicitly in code gen (#16254) 2022-10-30 10:31:18 +02:00
93d765eeee cgen: fix dump() multi ptr (fix #16247) (#16251) 2022-10-29 10:07:28 +03:00
a988ef3474 checker: add check for mut ident but not if mut ident is for interfaces (#16214) 2022-10-29 06:36:44 +03:00
ee782e9119 checker: fix return error with multi_return optional (#16250) 2022-10-29 06:34:45 +03:00
78c4b9a7bb doc: one single file for vweb (#16248) 2022-10-29 06:33:48 +03:00
02c3af2432 all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +03:00
4564a47fbc .gitignore: ignore Visual Studio's .vs/ folder 2022-10-28 22:40:47 +03:00
21d18b0792 doc: fix typos (#16239) 2022-10-28 22:27:38 +03:00
a0a055cc4c ci: fix failures after c6158e4 2022-10-28 21:52:52 +03:00
c6158e4519 all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
daa2f90023 scanner: fix and resotre string interpolation tests (#16242) 2022-10-28 18:39:32 +03:00
5daa38fdb1 util: fix smart_quote, so that v -cstrict file.v works with println('\\$') (fix #16230) (#16233) 2022-10-28 12:41:13 +03:00
ef1696b3e1 v.util: add path_styled_for_error_messages/1 (#16219) 2022-10-28 11:27:00 +03:00
af56719f9d fmt: fix compiler_error('...') broken by fmt (fix #16218) (#16231) 2022-10-28 06:48:09 +03:00
219079e3a6 v.eval: consistency in commit hash shown on panic (#16227) 2022-10-28 06:47:50 +03:00
c5ee33b7aa cgen: fix comparing struct with pointers to interface values (fix #16074) (#16215) 2022-10-28 06:47:31 +03:00
992106c6f7 tests: fix ci errors temporary (#16237) 2022-10-28 06:46:20 +03:00
0ca5b1f6ff cgen: fix $tmpl() in returning match expr (fix #16109, fix #16124) (#16229) 2022-10-27 18:03:27 +03:00
e356a74a4c tests: disable a single string interpolation test for now 2022-10-27 18:02:25 +03:00
cc58d6a919 all: string interpolation fixes 2022-10-27 17:52:30 +03:00
d653716292 doc: add global variables link (#16228) 2022-10-27 13:09:05 +03:00
098db89b85 encoding.csv: remove unnecessary IError() cast 2022-10-27 11:30:08 +03:00
c9934672c4 http: fix request_test.v 2022-10-27 11:28:44 +03:00
a134c09718 os: fix font.v compilation 2022-10-27 11:13:43 +03:00
e1ffc76efd tests: fix some interpolation tests 2022-10-27 11:12:15 +03:00
604f19adba scanner: : str inter fix 2022-10-27 11:08:32 +03:00
18c7da9a5e all: new string interpolation "hello {name}!" 2022-10-27 11:01:01 +03:00
e6fad82b87 v.eval: support unsafe expr (#16224) 2022-10-27 10:38:57 +03:00
ce2c732db8 doc: move the Attributes subsection at the start of its parent section (#16183) 2022-10-26 23:28:37 +03:00
41c85661ef fix quadratic execution of VAUTOFIX=1 v check-md . when a long .md file has many examples, that have to be corrected. 2022-10-26 22:47:58 +03:00
007430ef2b tools: support VAUTOFIX=1 v check-md vlib/term/README.md for fixing unformatted examples without manual edits 2022-10-26 21:51:10 +03:00
064e35fbc4 parser: fix $tmpl with single quotes (fix #16154) (#16216) 2022-10-26 19:38:08 +03:00
a19a4ba299 examples: add a tiny brainvuck interpreter (#16213) 2022-10-26 19:31:15 +03:00
992b502198 db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
2a7420f572 native: add initial support for f32/f64 (#16210) 2022-10-26 10:37:46 +03:00
fef4dd94e9 ast, checker, cgen: enable unsafe { nil } with reference to interface fields in structs (fix #16198) (#16199) 2022-10-26 09:39:23 +03:00
53c6e46a51 parser: correct comptime path not found error position (fix #16189) (#16209) 2022-10-26 09:33:58 +03:00
572e26204e changelog: some 0.3.2 features 2022-10-26 02:34:54 +03:00
b2ab7a333b transformer: improve -trace-calls output, enable tracing of builtin fns, show elapsed ns and used stack size (#16205)
Make it easier to change later, by splitting the tracing call into its own `v.trace_calls` module, so that it can be iterated upon without changing the compiler itself.
2022-10-25 20:56:12 +03:00
03bef24456 checker: fix returning embedded error result (#16208) 2022-10-25 18:17:48 +03:00
76606598c3 cleanup: delete database.db in project root folder (#16190) 2022-10-25 10:43:17 +03:00
779cc33825 doc: rename module to package, when it comes to all VPM commands like v install etc (#16180) weekly.2022.43 2022-10-24 18:00:55 +03:00
d3fcb6bca0 doc: add a subheading for creating new modules (#16188) 2022-10-24 17:56:34 +03:00
00ec41e0a9 ci: small fix for docs.md 2022-10-24 17:32:01 +03:00
690b2c0b9d doc: more Result fixes 2022-10-24 16:26:19 +03:00
2c9e890c3d doc: document the Option/Result split 2022-10-24 16:11:20 +03:00