v/vlib/v/parser/tests
Daniel Däschle 41ba942369
parser: smartcast mutable selector (#6881)
2020-11-19 21:05:10 +01:00
..
README.md tests: add parser/tests/, move checker_test.v=>compiler_errors_test.v 2020-06-15 10:58:34 +03:00
c_struct_no_embed.out all: struct embedding 2020-10-30 07:09:26 +01:00
c_struct_no_embed.vv all: struct embedding 2020-10-30 07:09:26 +01:00
dec_use_as_value.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
dec_use_as_value.vv parser: add error for `for i := 0; i++; i < ..` (#5850) 2020-07-17 10:31:58 +03:00
duplicate_type_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
duplicate_type_a.vv parser: fail when interface name is duplicated (#5828) 2020-07-14 18:52:51 +02:00
duplicate_type_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
duplicate_type_b.vv parser: fail when interface name is duplicated (#5828) 2020-07-14 18:52:51 +02:00
expecting_assign_type_alias.out parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
expecting_assign_type_alias.vv parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
expr_evaluated_but_not_used_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
expr_evaluated_but_not_used_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
expr_evaluated_but_not_used_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
expr_evaluated_but_not_used_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
expr_evaluated_but_not_used_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
expr_evaluated_but_not_used_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
expr_evaluated_but_not_used_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
expr_evaluated_but_not_used_d.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
fn_attributes_duplicate_multiple.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_attributes_duplicate_multiple.vv parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
fn_attributes_duplicate_single.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_attributes_duplicate_single.vv parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
fn_attributes_empty_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_attributes_empty_err.vv parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
fn_type_only_args_in_interfaces.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_type_only_args_in_interfaces.vv parser: fix interface functions with no params (ui examples) 2020-06-29 10:53:12 +03:00
fn_type_only_args_no_body.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_type_only_args_no_body.vv parser: disallow fns with type only args and a body 2020-06-29 10:21:01 +03:00
fn_type_only_args_unknown_name.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_type_only_args_unknown_name.vv parser: disallow fns with type only args and a body 2020-06-29 10:21:01 +03:00
for.out parser: disallow index variable with range `for` (#6464) 2020-09-24 15:52:44 +03:00
for.vv parser: disallow index variable with range `for` (#6464) 2020-09-24 15:52:44 +03:00
inc_use_as_value.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
inc_use_as_value.vv parser: add error for `for i := 0; i++; i < ..` (#5850) 2020-07-17 10:31:58 +03:00
interface_duplicate_method.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
interface_duplicate_method.vv parser: duplicate method declaration on interface (#5825) 2020-07-15 10:23:21 +02:00
match_range_dotdot_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
match_range_dotdot_err.vv parser: force `...` rather than `..` in matches for inclusive ranges (#5852) 2020-07-17 11:30:21 +03:00
nested_unsafe_expr.out parser: clean error when nesting `unsafe` (#6656) 2020-10-20 22:57:24 +03:00
nested_unsafe_expr.vv parser: clean error when nesting `unsafe` (#6656) 2020-10-20 22:57:24 +03:00
nested_unsafe_stmt.out parser: clean error when nesting `unsafe` (#6656) 2020-10-20 22:57:24 +03:00
nested_unsafe_stmt.vv parser: clean error when nesting `unsafe` (#6656) 2020-10-20 22:57:24 +03:00
postfix_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
postfix_err.vv parser: warn if PostfixExpr followed by `]` or `)` token (#6214) 2020-08-25 08:50:06 +02:00
prefix_first.out parser: fixes or block position (#6736) 2020-11-04 16:02:01 +02:00
prefix_first.vv parser: warn about ambiguous infix/prefix op token (#6491) 2020-09-29 03:13:10 +02:00
select_bad_key_1.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_1.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_2.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_2.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_3.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_3.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_4.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_bad_key_4.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_else_1.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_else_1.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_else_2.out parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
select_else_2.vv parser: implement parsing of `select` block (#6379) 2020-09-16 15:34:57 +02:00
struct_embed_duplicate.out all: struct embedding 2020-10-30 07:09:26 +01:00
struct_embed_duplicate.vv all: struct embedding 2020-10-30 07:09:26 +01:00
struct_embed_unknown_module.out all: struct embedding 2020-10-30 07:09:26 +01:00
struct_embed_unknown_module.vv all: struct embedding 2020-10-30 07:09:26 +01:00
unnecessary_mut.out parser: smartcast mutable selector (#6881) 2020-11-19 21:05:10 +01:00
unnecessary_mut.vv parser: smartcast mutable selector (#6881) 2020-11-19 21:05:10 +01:00
unnecessary_mut_2.out parser: smartcast mutable selector (#6881) 2020-11-19 21:05:10 +01:00
unnecessary_mut_2.vv parser: smartcast mutable selector (#6881) 2020-11-19 21:05:10 +01:00

README.md

Put here tests, ensuring that the v's parser errors for certain situations.