0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/cases/compile_errors
Andrew Kelley 7d2e142679
Merge pull request #12044 from Vexu/stage2-compile-errors
Sema: add detailed error notes to `coerceInMemoryAllowed`
History 2022-07-11 20:45:27 -04:00
..
stage1 Merge pull request #12044 from Vexu/stage2-compile-errors 2022-07-11 20:45:27 -04:00
stage2 Sema: improve slice source locations 2022-07-07 10:50:06 +03:00
access_invalid_typeInfo_decl.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
access_non-existent_member_of_error_set.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
add_assign_on_undefined_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
add_on_undefined_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
add_overflow_in_function_evaluation.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
addition_with_non_numbers.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
address_of_number_literal.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
alignCast_expects_pointer_or_slice.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
alignment_of_enum_field_specified.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ambiguous_decl_reference.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
any_typed_null_to_any_typed_optional.zig Sema: prefer original error message in coerce 2022-07-10 23:47:56 +03:00
array_access_of_type.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
array_access_of_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
array_concatenation_with_wrong_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
asm_at_compile_time.zig fix expected error messages in test cases 2022-07-05 16:22:53 -07:00
assign_inline_fn_to_non-comptime_var.zig Sema: add source location to coerce result ptr, fix negation error 2022-06-30 09:57:38 +02:00
assign_null_to_non-optional_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_through_constant_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_through_constant_slice.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_to_constant_field.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_to_constant_variable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_to_invalid_dereference.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
assign_too_big_number_to_u16.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assign_unreachable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
assigning_to_struct_or_union_fields_that_are_not_optionals_with_a_function_that_returns_an_optional.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
atomic_orderings_of_atomicStore_Acquire_or_AcqRel.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomic_orderings_of_cmpxchg-failure_stricter_than_success.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomic_orderings_of_cmpxchg-success_Monotonic_or_stricter.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomic_orderings_of_fence_Acquire_or_stricter.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomicrmw_with_bool_op_not_.Xchg.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomicrmw_with_enum_op_not_.Xchg.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
atomicrmw_with_float_op_not_.Xchg_.Add_or_.Sub.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempt_to_cast_enum_literal_to_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempt_to_close_over_comptime_variable_from_outer_scope.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempt_to_create_17_bit_float_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempt_to_negate_a_non-integer_non-float_or_non-vector_type.zig Sema: add source location to coerce result ptr, fix negation error 2022-06-30 09:57:38 +02:00
attempted_double_ampersand.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempted_double_pipe_on_boolean_values.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempted_implicit_cast_from_const_T_to_array_len_1_T.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
attempted_implicit_cast_from_const_T_to_sliceT.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
attempted_implicit_cast_from_T_to_slice_const_T.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_identifier_in_function_with_struct_defined_inside_function_which_references_local_const.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_import.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_splat_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bad_usage_of_call.zig Sema: improve @call errors 2022-06-30 09:57:38 +02:00
binary_not_on_number_literal.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
binary_OR_operator_on_error_sets.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bit_shifting_only_works_on_integer_types.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bitCast_same_size_but_bit_count_mismatch.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bitCast_to_enum_type.zig Sema: improve bitcast to enum error 2022-07-01 09:29:13 +03:00
bitCast_with_different_sizes_inside_an_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
bogus_compile_var.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
bogus_method_call_on_slice.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
branch_on_undefined_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
c_pointer_to_void.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
call method on bound fn referring to var instance.zig move bound function behavior test to compile error test 2022-05-24 15:34:52 -07:00
call_assigned_to_constant.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
callconv_apcs_aapcs_aapcsvfp_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
callconv_interrupt_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
callconv_signal_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
callconv_stdcall_fastcall_thiscall_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
callconv_vectorcall_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
calling_var_args_extern_function_passing_array_instead_of_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
cast_between_optional_T_where_T_is_not_a_pointer.zig Sema: only add note about int mismatch if not coercible 2022-07-11 11:59:26 +03:00
cast_enum_literal_to_enum_but_it_doesnt_match.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
cast_error_union_of_global_error_set_to_error_union_of_smaller_error_set.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
cast_global_error_set_to_error_set.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
cast_negative_integer_literal_to_usize.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
cast_negative_value_to_unsigned_integer.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
cast_unreachable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
casting_bit_offset_pointer_to_regular_pointer.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
chained_comparison_operators.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
cmpxchg_with_float.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
colliding_invalid_top_level_functions.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
combination_of_nosuspend_and_async.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comparing_a_non-optional_pointer_against_null.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comparing_against_undefined_produces_undefined_value.zig tests: move compile errors not planned for stage2 2022-06-30 09:57:38 +02:00
comparison_operators_with_undefined_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comparison_with_error_union_and_error_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compile-time_division_by_zero.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
compile-time_remainder_division_by_zero.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
compile_error_in_struct_init_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compile_error_when_evaluating_return_type_of_inferred_error_set.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compile_log.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
compile_log_a_pointer_to_an_opaque_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compile_log_statement_inside_function_which_must_be_comptime_evaluated.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
compile_log_statement_warning_deduplication_in_generic_fn.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
compile_time_division_by_zero.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
compileError_shows_traceback_of_references_that_caused_it.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compileLog_of_tagged_enum_doesnt_crash_the_compiler.zig Sema: prefer func.onwer_decl for compilelog src 2022-07-01 10:22:25 +03:00
comptime_cast_enum_to_union_but_field_has_payload.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comptime_slice_of_undefined_pointer_non-zero_len.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comptime_struct_field_no_init_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
comptime_vector_overflow_shows_the_index.zig Sema: improve vector overflow errors 2022-06-30 09:57:38 +02:00
const_is_a_statement_not_an_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
container_init_with_non-type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
control_flow_uses_comptime_var_at_runtime.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
declaration_between_fields.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
declaration_with_same_name_as_primitive_must_use_special_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
deduplicate_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
deref_on_undefined_value.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
deref_slice_and_get_len_field.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
dereference_an_array.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
dereference_anyopaque.zig test-cases: fix race with zig run on C backend tests 2022-06-14 15:27:43 -07:00
dereference_slice.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
dereference_unknown_length_pointer.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
discarding_error_value.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
division_by_zero.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
dont_implicit_cast_double_pointer_to_anyopaque.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
duplicate_boolean_switch_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
duplicate_enum_field.zig Sema: validate @intToEnum int operand type 2022-07-01 10:22:25 +03:00
duplicate_error_in_switch.zig fix expected error messages in test cases 2022-07-05 16:22:53 -07:00
duplicate_error_value_in_error_set.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
duplicate_field_in_struct_value_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
duplicate_struct_field.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
duplicate_union_field.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
embedFile_with_bogus_file.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_for_loop_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_if_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_switch_on_an_integer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
empty_while_loop_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
enum_in_field_count_range_but_not_matching_tag.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
enum_with_0_fields.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
enum_with_declarations_unavailable_for_reify_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
error_in_struct_initializer_doesnt_crash_the_compiler.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
error_not_handled_in_switch.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
error_note_for_function_parameter_incompatibility.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
error_union_operator_with_non_error_set_LHS.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
errors_in_for_loop_bodies_are_propagated.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
exceeded_maximum_bit_width_of_integer.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
explicit_cast_float_literal_to_integer_when_there_is_a_fraction_component.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
explicit_error_set_cast_known_at_comptime_violates_error_sets.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
explicitly_casting_non_tag_type_to_enum.zig Sema: validate @intToEnum int operand type 2022-07-01 10:22:25 +03:00
export_with_empty_name_string.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
exported_enum_without_explicit_integer_tag_type.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
extern_struct_with_extern-compatible_but_inferred_integer_tag_type.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
extern_struct_with_non-extern-compatible_integer_tag_type.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
extern_union_field_missing_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
extern_variable_has_no_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
field_access_of_opaque_type.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
field_access_of_slices.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
field_access_of_unknown_length_pointer.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
field_type_supplied_in_an_enum.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
fieldParentPtr-bad_field_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
fieldParentPtr-comptime_field_ptr_not_based_on_struct.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
fieldParentPtr-comptime_wrong_field_index.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
fieldParentPtr-field_pointer_is_not_pointer.zig Sema: add more validation to zirFieldParentPtr 2022-07-01 10:22:25 +03:00
fieldParentPtr-non_struct.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
function_call_assigned_to_incorrect_type.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
function_prototype_with_no_body.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
function_with_invalid_return_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
generic_function_call_assigned_to_incorrect_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
global_variable_initializer_must_be_constant_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
hasDecl_with_non-container.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
if_condition_is_bool_not_int.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_assert-err-ok_return_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_comptime_statement_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_comptime_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_deferred_function_call.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
ignored_deferred_statement_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_expression_in_while_continuation.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
ignored_return_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ignored_statement_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
illegal_comparison_of_types.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
implicit_cast_of_error_set_not_a_subset.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
implicit_cast_to_c_ptr_from_int.zig Sema: prefer original error message in coerce 2022-07-10 23:47:56 +03:00
implicit_casting_C_pointers_which_would_mess_up_null_semantics.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
implicit_semicolon-block_expr.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-block_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-comptime_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-comptime_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-defer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-for_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-for_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else-if-else_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else-if-else_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else-if_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else-if_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if-else_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-if_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-test_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-test_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-while-continue_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-while-continue_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-while_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicit_semicolon-while_statement.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
implicitly_casting_enum_to_tag_type.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
import_outside_package_path.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
incompatible sub-byte fields.zig stage2: fix type printing of sub-byte pointers 2022-06-08 15:18:43 -07:00
incompatible_sentinels.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
incorrect_return_type.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
indexing_an_array_of_size_zero.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
indexing_an_array_of_size_zero_with_runtime_index.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
indexing_single-item_pointer.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
inferred_array_size_invalid_here.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
inferring_error_set_of_function_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
initializing_array_with_struct_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
int-float_conversion_to_comptime_int-float.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
int_to_err_global_invalid_number.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
int_to_err_non_global_invalid_number.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
integer_overflow_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
integer_underflow_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_address_space_coercion.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
invalid_array_elem_ty.zig Sema: improve array source location 2022-07-07 10:50:06 +03:00
invalid_assignments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_break_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_builtin_fn.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_cast_from_integral_type_to_enum.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
invalid_comparison_for_function_pointers.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_continue_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_deref_on_switch_target.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
invalid_empty_unicode_escape.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_exponent_in_float_literal-1.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_exponent_in_float_literal-2.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_field_access_in_comptime.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_field_in_struct_value_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_float_casts.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_float_literal.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_int_casts.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_legacy_unicode_escape.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_member_of_builtin_enum.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_multiple_dereferences.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
invalid_non-exhaustive_enum_to_union.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_optional_type_in_extern_struct.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
invalid_pointer_for_var_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_pointer_keeps_address_space_when_taking_address_of_dereference.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
invalid_pointer_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_pointer_with_reify_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_shift_amount_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_store_to_comptime_field.zig test-cases: fix race with zig run on C backend tests 2022-06-14 15:27:43 -07:00
invalid_struct_field.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
invalid_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_type_used_in_array_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-1.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-2.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-3.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-4.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-5.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-6.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-7.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-9.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-10.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-11.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-12.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-13.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_float_literal-14.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_int_literal-1.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
invalid_underscore_placement_in_int_literal-2.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_int_literal-3.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
invalid_underscore_placement_in_int_literal-4.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
Issue_5586_Make_unary_minus_for_unsigned_types_a_compile_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
issue_5618_coercion_of_optional_anyopaque_to_anyopaque_must_fail.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
Issue_6823_dont_allow_._to_be_followed_by_.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
issue_9346_return_outside_of_function_scope.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
labeled_break_not_found.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
labeled_continue_not_found.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
local_shadows_global_that_occurs_later.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
local_variable_redeclaration.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
local_variable_redeclares_parameter.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
local_variable_shadowing_global.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
locally_shadowing_a_primitive_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
main_function_with_bogus_args_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
main_missing_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
method_call_with_first_arg_type_primitive.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
method_call_with_first_arg_type_wrong_container.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
missing_boolean_switch_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_const_in_slice_with_nested_array_type.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
missing_else_clause.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_field_in_struct_value_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_function_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_param_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_parameter_name_of_generic_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
misspelled_type_with_pointer_only_reference.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
mul_overflow_in_function_evaluation.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
multiple_function_definitions.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
negation_overflow_in_function_evaluation.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
nested_vectors.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
no_else_prong_on_switch_on_global_error_set.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
non-const_expression_function_call_with_struct_return_value_outside_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-const_expression_in_struct_literal_outside_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-const_switch_number_literal.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-const_variables_of_things_that_require_const_variables.zig Sema: better explanation why opaque types require comptime 2022-07-11 18:47:29 +03:00
non-exhaustive_enum_field_non_final.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-exhaustive_enum_marker_assigned_a_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-exhaustive_enum_specifies_every_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-extern_function_with_var_args.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non-inline_for_loop_on_a_type_that_requires_comptime.zig Sema: more runtime indexing comptime value checks 2022-07-07 10:50:06 +03:00
non-pure_function_returns_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non_constant_expression_in_array_size.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
non_error_sets_used_in_merge_error_sets_operator.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
non_float_passed_to_floatToInt.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non_int_passed_to_intToFloat.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
non_pointer_given_to_ptrToInt.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
normal_string_with_newline.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
not_an_enum_type.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
offsetOf-bad_field_name.zig stage2: Support @offsetOf for tuples and anon structs 2022-07-08 19:51:35 -07:00
offsetOf-non_struct.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
only_equality_binary_operator_allowed_for_error_sets.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
out_of_range_comptime_int_passed_to_floatToInt.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
panic_called_at_compile_time.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
parameter_redeclaration.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
parameter_shadowing_global.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
passing_a_not-aligned-enough_pointer_to_cmpxchg.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
pointer_arithmetic_on_pointer-to-array.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
pointer_with_different_address_spaces.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
pointers_with_different_address_spaces.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
popCount-non-integer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
primitives_take_precedence_over_declarations.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ptrcast_to_non-pointer.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
ptrToInt_0_to_non_optional_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
range_operator_in_switch_used_on_error_set.zig Sema: more runtime indexing comptime value checks 2022-07-07 10:50:06 +03:00
reading_past_end_of_pointer_casted_array.zig Sema: more runtime indexing comptime value checks 2022-07-07 10:50:06 +03:00
reassign_to_array_parameter.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
reassign_to_slice_parameter.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
reassign_to_struct_parameter.zig Sema: add source location to coerce result ptr, fix negation error 2022-06-30 09:57:38 +02:00
redefinition_of_enums.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
redefinition_of_global_variables.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
redefinition_of_struct.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
refer_to_the_type_of_a_generic_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reference_to_const_data.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
referring_to_a_struct_that_is_invalid.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
regression_test_2980_base_type_u32_is_not_type_checked_properly_when_assigning_a_value_within_a_struct.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
reify_typeOf_with_incompatible_arguments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reify_typeOf_with_no_arguments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reject_extern_function_definitions_with_body.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
reject_extern_variables_with_initializers.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
repeated_invalid_field_access_to_generic_function_returning_type_crashes_compiler_2655.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
result_location_incompatibility_mismatching_handle_is_ptr.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
result_location_incompatibility_mismatching_handle_is_ptr_generic_call.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
return_from_defer_expression.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
return_invalid_type_from_test.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
runtime_cast_to_union_which_has_non-void_fields.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
runtime_index_into_comptime_type_slice.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
runtime_indexing_comptime_array.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
saturating_arithmetic_does_not_allow_floats.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
setAlignStack_in_inline_function.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
setAlignStack_in_naked_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
setAlignStack_outside_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
setAlignStack_set_twice.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
setAlignStack_too_big.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
setting_a_section_on_a_local_variable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
shift_on_type_with_non-power-of-two_size.zig Sema: validate shift amounts and switch ranges 2022-06-30 09:57:38 +02:00
shifting_RHS_is_log2_of_LHS_int_bit_width.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
shuffle_with_selected_index_past_first_vector_length.zig Sema: improve vector overflow errors 2022-06-30 09:57:38 +02:00
signed_integer_remainder_division.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
sizeOf_bad_type.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_cannot_have_its_bytes_reinterpreted.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_passed_as_array_init_type.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_passed_as_array_init_type_with_elems.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
slice_sentinel_mismatch-2.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
slicing_single-item_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
src_fields_runtime.zig stage2: make line field of @src runtime known 2022-07-07 10:50:06 +03:00
struct_field_missing_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
struct_init_syntax_for_array.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
struct_with_declarations_unavailable_for_reify_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
struct_with_invalid_field.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
sub_overflow_in_function_evaluation.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
suspend_inside_suspend_block.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
switch_expression-duplicate_enumeration_prong.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-duplicate_enumeration_prong_when_else_present.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-duplicate_or_overlapping_integer_value.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
switch_expression-duplicate_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-duplicate_type_struct_alias.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-missing_enumeration_prong.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-multiple_else_prongs.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-non_exhaustive_integer_prongs.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-switch_on_pointer_type_with_no_else.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
switch_expression-unreachable_else_prong_bool.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
switch_expression-unreachable_else_prong_enum.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
switch_expression-unreachable_else_prong_range_i8.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-unreachable_else_prong_range_u8.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-unreachable_else_prong_u1.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-unreachable_else_prong_u2.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_on_enum_with_1_field_with_no_prongs.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_on_union_with_no_attached_enum.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
switch_ranges_endpoints_are_validated.zig Sema: validate shift amounts and switch ranges 2022-06-30 09:57:38 +02:00
switch_with_overlapping_case_ranges.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
switching_with_exhaustive_enum_has___prong_.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
tagName_on_invalid_value_of_non-exhaustive_enum.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
tagName_used_on_union_with_no_associated_enum_tag.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
take_slice_of_invalid_dereference.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
threadlocal_qualifier_on_const.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
truncate_sign_mismatch.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
try_in_function_with_non_error_return_type.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
type_checking_function_pointers.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
type_mismatch_in_C_prototype_with_varargs.zig Sema: prefer original error message in coerce 2022-07-10 23:47:56 +03:00
type_variables_must_be_constant.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undeclared_identifier_error_should_mark_fn_as_impure.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undeclared_identifier_in_unanalyzed_branch.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undefined_as_field_type_is_rejected.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
undefined_function_call.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_is_not_a_declarable_symbol.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_should_not_be_usable_inside_for.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_should_not_be_usable_inside_while.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
underscore_should_not_be_usable_inside_while_else.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
union_fields_with_value_assignments.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
union_with_0_fields.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
union_with_specified_enum_omits_field.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_code-double_break.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_code-nested_returns.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_code.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
unreachable_executed_at_comptime.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
unreachable_variable.zig Sema: validate pointer types 2022-07-07 10:50:05 +03:00
unreachable_with_return.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
use_invalid_number_literal_as_array_index.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
use_of_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
using_invalid_types_in_function_call_raises_an_error.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
usingnamespace_with_wrong_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
variable_has_wrong_type.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
variable_initialization_compile_error_then_referenced.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
variable_with_type_noreturn.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
volatile_on_global_assembly.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wasmMemoryGrow_is_a_compile_error_in_non-Wasm_targets.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
wasmMemorySize_is_a_compile_error_in_non-Wasm_targets.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03:00
while_expected_bool_got_error_union.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
while_expected_bool_got_optional.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
write_to_const_global_variable.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wrong_size_to_an_array_literal.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wrong_type_for_reify_type.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
wrong_type_passed_to_panic.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
wrong_type_to_hasField.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00