v/vlib/compiler
Toby Webb ab37081f02 add production mode tests
Due to the inability to detect warnings in REPL tests, I implemented running something very similar, but with the -prod flag enabled.
(See https://github.com/vlang/v/pull/2536)

There is also a minor change in os.walk_ext to not add duplicated path separators:
/path//file.ext -> /path/file.ext
2019-11-09 19:35:26 +03:00
..
preludes compiler: print asserted source line on failure 2019-10-30 12:15:33 +03:00
tests add production mode tests 2019-11-09 19:35:26 +03:00
cc.v cc.v: use msvc on Windows by default if gcc is not installed 2019-11-08 21:15:26 +03:00
cflags.v compiler/vlib: replace substr/left/right with `[start..end]` everywhere 2019-10-27 10:03:15 +03:00
cgen.v do not generate interface tables for unused interfaces 2019-11-09 18:13:51 +03:00
cheaders.v it's better to do this locally and update v.c manually 2019-11-05 20:27:53 +03:00
compile_errors.v expression.v 2019-11-07 17:48:48 +03:00
comptime.v fix $if msvc conditional define 2019-11-08 16:00:55 +03:00
depgraph.v show struct dependency cycles in error & update module cycle error (#2517) 2019-10-24 15:53:39 +11:00
enum.v new enum step 2 2019-11-06 06:26:04 +03:00
expression.v parser: check mul and div operations on str variables 2019-11-08 20:26:08 +03:00
fn.v fix interface methods that return a value 2019-11-08 07:43:44 +03:00
for.v optimize reserved type check 2019-11-07 18:45:38 +03:00
gen_c.v rewrite interfaces 2019-11-08 07:16:53 +03:00
gen_js.v parser: add error when trying to assign from a function that does not return a value 2019-11-04 14:35:10 +03:00
json_gen.v json: rename jsgen.v to json_gen.v 2019-10-30 19:45:33 +03:00
live.v fix pthread 3rd arg voidptr warning 2019-11-08 00:58:49 +03:00
main.v do not generate interface tables for unused interfaces 2019-11-09 18:13:51 +03:00
match.v for.v and match.v; do not allow arrays in `match` 2019-11-06 23:30:08 +03:00
module_header.v more ui vh fixes 2019-11-01 18:03:24 +03:00
modules.v compiler: improve typo detection, support all types and fn definitions 2019-11-04 04:59:28 +03:00
msvc.v windows: use CreateProcess for os.exec 2019-11-07 16:01:17 +03:00
optimization.v compiler/vlib: replace substr/left/right with `[start..end]` everywhere 2019-10-27 10:03:15 +03:00
parser.v []interface 2019-11-08 22:08:02 +03:00
parser2.v new enum step 2 2019-11-06 06:26:04 +03:00
query.v make all necessary structs public 2019-10-24 12:51:00 +03:00
scanner.v scanner: fix string interpolation in raw strings 2019-11-03 23:57:26 +03:00
struct.v rewrite interfaces 2019-11-08 07:16:53 +03:00
table.v rewrite interfaces 2019-11-08 07:16:53 +03:00
token.v instead of `Enum.foo` require `.foo` if it's enough + some UI fixes 2019-10-30 15:48:33 +03:00
vfmt.v enable [if vfmt] 2019-10-27 12:16:33 +03:00
vhelp.v tools/vget => tools/v , search, install, etc 2019-11-01 15:19:04 +03:00
vtools.v tools: show C output when tool can not be compiled 2019-11-07 16:17:32 +03:00