zig/test/cases/compile_errors
2022-10-20 20:11:00 +03:00
..
stage1 fix hyphenation in test case 2022-10-12 16:10:57 +03:00
stage2 Sema: check that reified enum field values fits tag type. 2022-09-27 18:38:37 +03:00
access_inactive_union_field_comptime.zig Sema: fix access of inactive union field when enum and union fields are in different order 2022-08-29 13:45:37 -07: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
accessing_runtime_parameter_from_outer_function.zig Sema: add error for closure capture at runtime 2022-08-03 16:45:33 +03:00
accessing_runtime_paramter_outside_function_scope.zig Sema: add error for capturing a runtime value outside of function scope 2022-10-08 16:58:54 +03: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
align_n_expr_function_pointers_is_a_compile_error.zig Sema: improve compile error for bad function alignment 2022-07-21 13:55:29 -07: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
alignOf_bad_type.zig Sema: validate @alignOf type 2022-09-20 00:50:13 +03:00
ambiguous_coercion_of_division_operands.zig fix typo in compile error message 2022-08-17 14:09:42 -07:00
ambiguous_decl_reference.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
and_on_undefined_value.zig Sema: improve source location after as_node is used 2022-09-16 14:47:17 -04:00
any_typed_null_to_any_typed_optional.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
array_access_of_non_array.zig Sema: disallow 'align' on functions on wasm 2022-07-21 12:21:30 -07: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_access_with_non_integer_index.zig Sema: disallow 'align' on functions on wasm 2022-07-21 12:21:30 -07:00
array_concatenation_with_wrong_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
array_in_c_exported_function.zig Sema: better function parameter source location 2022-07-21 12:21:30 -07:00
array_init_invalid_elem_count.zig Sema: validate empty array init 2022-07-22 17:03:42 +03:00
asm_at_compile_time.zig sema: fix typo 2022-09-21 11:29:20 +02: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 stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
assign_through_constant_slice.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
assign_to_constant_field.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
assign_to_constant_variable.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03: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
AstGen_comptime_known_struct_is_resolved_before_error.zig Sema: fix infinite recursion in explainWhyTypeIsComptime 2022-08-06 14:17:09 +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 Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03: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_alignCast_at_comptime.zig Sema: @alignCast safety 2022-07-23 15:40:11 +03: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: better source location for builtin options 2022-07-26 12:14:59 +03: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: validate bitcast operand type 2022-08-01 23:37:01 +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 stage2: improve error message for missing member in file root struct 2022-09-30 00:09:24 +03:00
bogus_method_call_on_slice.zig Sema: fix fieldCallBind on tuples and anon structs 2022-08-22 14:31:58 +03:00
branch_on_undefined_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
C_pointer_pointing_to_non_C_ABI_compatible_type_or_has_align_attr.zig Sema: only ABI sized packed structs are extern compatible 2022-09-03 01:04:46 +03:00
C_pointer_to_anyopaque.zig stage2: better pointer source location 2022-07-21 12:21:30 -07:00
c_pointer_to_void.zig stage2: better pointer source location 2022-07-21 12:21:30 -07:00
call_assigned_to_constant.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
callconv_apcs_aapcs_aapcsvfp_on_unsupported_platform.zig Sema: validate callconv 2022-07-01 10:22:25 +03:00
callconv_from_global_variable.zig Sema: allow runtime only instructions to be emitted in outside functions 2022-10-20 20:11:00 +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_function_with_naked_calling_convention.zig Sema: add declared here note to function call errors 2022-08-09 23:37:26 +03:00
calling_var_args_extern_function_passing_array_instead_of_pointer.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
cannot_break_out_of_defer_expression.zig AstGen: add error for break/continue out of defer expression 2022-08-03 16:45:33 +03:00
cannot_continue_out_of_defer_expression.zig AstGen: add error for break/continue out of defer expression 2022-08-03 16:45:33 +03:00
capture_group_on_switch_prong_with_incompatible_payload_types.zig Sema: better source location for incompatible capture group 2022-07-21 12:21:30 -07: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 Sema: add some more 'declared here' notes 2022-07-23 15:40:12 +03: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 validate number literals in AstGen 2022-09-13 20:26:04 -04: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: better source location for function call args 2022-07-21 12:21:30 -07:00
catch_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
chained_comparison_operators.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
closure_get_depends_on_failed_decl.zig Sema: fix UAF in zirClosureGet 2022-09-08 00:37:11 +03:00
closure_get_in_param_ty_instantiate_incorrectly.zig Sema: fix UAF in zirClosureGet 2022-09-08 00:37:11 +03: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
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_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_log.zig Sema: resolve lazy values for compile log 2022-07-26 16:40:24 +03: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_null_ptr_cast.zig stage2: add compile error for invalid null/undefined pointer cast 2022-08-10 16:39:46 -04:00
compile_time_undef_ptr_cast.zig stage2: add compile error for invalid null/undefined pointer cast 2022-08-10 16:39:46 -04: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
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_continue_inside_runtime_catch.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_if_bool.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_if_error.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_if_optional.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_orelse.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_switch.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_while_bool.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_while_error.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_inside_runtime_while_optional.zig stage2: add error for comptime control flow in runtime block 2022-07-29 10:08:35 +03:00
comptime_continue_to_outer_inline_loop.zig Sema: check_comptime_control_flow needs to check runtime_index 2022-09-15 00:50:18 +03:00
comptime_param_coersion.zig type: print comptime on fn type params 2022-09-10 01:55:52 +03:00
comptime_parameter_not_declared_as_such.zig Sema: do not construct nested partial function types 2022-08-24 21:31:02 +03:00
comptime_slice_of_an_undefined_slice.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03: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_slice-sentinel_does_not_match_memory_at_target_index_terminated.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03:00
comptime_slice-sentinel_does_not_match_memory_at_target_index_unterminated.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03:00
comptime_slice-sentinel_does_not_match_target-sentinel.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03:00
comptime_slice-sentinel_is_out_of_bounds_terminated.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03:00
comptime_slice-sentinel_is_out_of_bounds_unterminated.zig Sema: check comptime slice sentinel 2022-07-30 11:07:37 +03:00
comptime_store_in_comptime_switch_in_runtime_if.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03: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 stage2: better pointer source location 2022-07-21 12:21:30 -07: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
control_reaches_end_of_non-void_function.zig Sema: disallow 'align' on functions on wasm 2022-07-21 12:21:30 -07:00
decl_shadows_local.zig AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03: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 fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02: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
dereferencing_invalid_payload_ptr_at_comptime.zig Sema: add error for dereferencing invalid payload ptr at comptime 2022-07-22 21:10:50 +03:00
direct_struct_loop.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +03:00
directly_embedding_opaque_type_in_struct_and_union.zig Sema: validate duplicate fields in anon structs 2022-07-23 15:40:12 +03:00
disallow_coercion_from_non-null-terminated_pointer_to_null-terminated_pointer.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
discarding_error_value.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
div_assign_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
div_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04: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_anonymous_struct_literal.zig Sema: validate duplicate fields in anon structs 2022-07-23 15:40:12 +03:00
duplicate_field_in_discarded_anon_init.zig add error tests for now correctly behaving cases 2022-08-28 15:41:21 +03: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_backed_by_comptime_int_must_be_comptime.zig Sema: improve behavior of comptime_int backed enums 2022-09-02 17:57:11 +03:00
enum_field_value_references_enum.zig test-cases: remove removed "note: referenced here" note from the error 2022-09-17 23:38:40 +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_value_already_taken.zig stage2: detect duplicate enum values 2022-09-28 12:48:54 +03: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_call_builtin_args.zig Module: improve handling of errors in @call arguments 2022-07-26 12:14:59 +03: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_in_typeof_param.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +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: better source location for function call args 2022-07-21 12:21:30 -07: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 stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
exact division failure.zig stage2: add compile errors for comptime @shrExact and @divExact failures 2022-08-15 11:28:42 +03:00
exceeded_maximum_bit_width_of_integer.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
explain_why_fn_is_called_at_comptime.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
explain_why_generic_fn_is_called_at_comptime.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02: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_function_with_comptime_parameter.zig Sema: ignore comptime params in partial func type check 2022-08-25 16:29:23 +03:00
export_generic_function.zig Sema: better function parameter source location 2022-07-21 12:21:30 -07:00
export_with_empty_name_string.zig Sema: better source location for builtin options 2022-07-26 12:14:59 +03:00
exported_enum_without_explicit_integer_tag_type.zig Sema: validate extern types 2022-07-11 18:47:29 +03:00
extern_function_with_comptime_parameter.zig Sema: ignore comptime params in partial func type check 2022-08-25 16:29:23 +03:00
extern_struct_with_extern-compatible_but_inferred_integer_tag_type.zig Sema: validate extern struct field types earlier 2022-07-21 12:21:30 -07:00
extern_struct_with_non-extern-compatible_integer_tag_type.zig Sema: validate extern struct field types earlier 2022-07-21 12:21:30 -07:00
extern_union_field_missing_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
extern_union_given_enum_tag_type.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07: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_on_comptime_field.zig Sema: disallow fieldParentPtr and offsetOf on comptime fields 2022-10-06 20:09:45 +03: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
float exact division failure.zig stage2: add compile errors for comptime @shrExact and @divExact failures 2022-08-15 11:28:42 +03:00
for_loop_body_expression_ignored.zig AstGen: check loop bodies and else branches for unused result 2022-08-03 16:45:33 +03:00
function_alignment_non_power_of_2.zig Sema: validate function pointer alignment 2022-07-21 12:21:30 -07:00
function_call_assigned_to_incorrect_type.zig fix errors in tests not tested locally or on CI 2022-07-21 12:21:30 -07:00
function_parameter_is_opaque.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
function_prototype_with_no_body.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
function_ptr_alignment.zig Sema: fix fn pointer align disagrees with fn align error 2022-07-21 15:19:56 -07:00
function_returning_opaque_type.zig Sema: validate function parameter types and return type 2022-07-21 12:21:30 -07:00
function_type_coercion.zig Sema: fix function paramater count mismatch note 2022-10-03 13:06:49 +03:00
function_type_named.zig AstGen: add error for named function type 2022-08-28 15:41:21 +03:00
function_with_invalid_return_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
function_with_non-extern_non-packed_enum_parameter.zig Sema: better function parameter source location 2022-07-21 12:21:30 -07:00
function_with_non-extern_non-packed_struct_parameter.zig Sema: only ABI sized packed structs are extern compatible 2022-09-03 01:04:46 +03:00
function_with_non-extern_non-packed_union_parameter.zig Sema: only ABI sized packed structs are extern compatible 2022-09-03 01:04:46 +03:00
generic_funciton_instantiation_inherits_parent_branch_quota.zig Sema: generic function instantiation inherits parent's branch quota 2022-10-06 20:09:45 +03: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
generic_function_instance_with_non-constant_expression.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
global_var_struct_init_in_comptim_block.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
global_variable_alignment_non_power_of_2.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03: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
helpful_return_type_error_message.zig Sema: fix non-exhaustive union switch checks 2022-07-21 12:21:30 -07: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 Sema: improve expression value ignored error 2022-07-26 16:40:24 +03:00
ignored_comptime_statement_value.zig Sema: improve expression value ignored error 2022-07-26 16:40:24 +03:00
ignored_comptime_value.zig Sema: improve expression value ignored error 2022-07-26 16:40:24 +03: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 Sema: improve expression value ignored error 2022-07-26 16:40:24 +03: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 Sema: improve expression value ignored error 2022-07-26 16:40:24 +03:00
ignored_statement_value.zig Sema: improve expression value ignored error 2022-07-26 16:40:24 +03: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_array_ptr_cast_sentinel_mismatch.zig Sema: correct sentinel check on implicit cast from array ptr 2022-09-23 17:39:06 +03:00
implicit_cast_between_C_pointer_and_Zig_pointer-bad_const-align-child.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
implicit_cast_const_array_to_mutable_slice.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
implicit_cast_from_array_to_mutable_slice.zig constrain target/backend of new test cases 2022-07-21 12:21:30 -07:00
implicit_cast_from_f64_to_f32.zig Sema: allow runtime only instructions to be emitted in outside functions 2022-10-20 20:11:00 +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_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-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-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-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-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_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
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
implicitly_casting_enum_to_tag_type.zig Sema: add detailed error notes to coerceInMemoryAllowed 2022-07-10 23:15:17 +03:00
implicitly_increasing_pointer_alignment.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
implicitly_increasing_slice_alignment.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
import_of_missing_package.zig report better error for package not found in stage2 2022-07-24 11:55:37 +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
incorrect_type_to_memset_memcpy.zig Sema: correct types in @memset and @memcpy 2022-09-08 00:37:11 +03:00
increase_pointer_alignment_in_ptrCast.zig Sema: do not use coerceCompatiblePtr for ptrCast 2022-09-19 18:34:53 +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_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_single-item_pointer.zig AstGen: use elem_{ptr,val}_node for array access syntax 2022-07-01 10:22:26 +03:00
indirect_struct_loop.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +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
inline_underscore_prong.zig AstGen: analyze inline switch cases 2022-09-27 18:05:08 +03:00
instantiating_an_undefined_value_for_an_invalid_struct_that_contains_itself.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +03:00
instantiating_an_undefined_value_for_an_invalid_union_that_contains_itself.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +03: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
int-float_conversion_to_comptime_int-float.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02: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
intToPtr_with_misaligned_address.zig Sema: validate bitcast operand type 2022-08-01 23:37:01 +03: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_comptime_fields.zig AstGen: make comptime fields in packed and extern structs compile errors 2022-07-23 15:40:12 +03: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_error_union_payload_type.zig Sema: make noreturn error union behave correctly 2022-08-17 20:10:18 +03:00
invalid_exponent_in_float_literal-1.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_exponent_in_float_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04: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_identifiers.zig AstGen: disable null bytes and empty stings in some places 2022-07-26 12:14:59 +03:00
invalid_inline_else_type.zig Sema: implement inline else for errors enums and bools 2022-09-27 18:33:23 +03: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_payload_type.zig Sema: make optional noreturn behave correctly 2022-08-17 20:10:18 +03:00
invalid_optional_type_in_extern_struct.zig Sema: validate extern struct field types earlier 2022-07-21 12:21:30 -07: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 Sema: give comptime_field_ptr priority over field_ptr in tuples 2022-07-26 16:40:24 +03:00
invalid_struct_field.zig adjust tests that didn't pass CI 2022-06-30 21:47:26 +03:00
invalid_tag_capture.zig add inline switch union tag captures 2022-09-27 18:33:23 +03:00
invalid_tail_call.zig Sema: improve handling of always_tail call modifier 2022-08-30 12:22:07 -07: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_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 validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-3.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-4.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-5.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-6.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-7.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-9.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-10.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-11.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-12.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-13.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_float_literal-14.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-1.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-2.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-3.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
invalid_underscore_placement_in_int_literal-4.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
issue_2032_compile_diagnostic_string_for_top_level_decl_type.zig stage2: improve error message for missing member in file root struct 2022-09-30 00:09:24 +03:00
issue_3818_bitcast_from_parray-slice_to_u16.zig Sema: validate bitcast operand type 2022-08-01 23:37:01 +03:00
issue_5221_invalid_struct_init_type_referenced_by_typeInfo_and_passed_into_function.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03: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_9346_return_outside_of_function_scope.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_6823_dont_allow_._to_be_followed_by_.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
leading_zero_in_integer.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
load_too_many_bytes_from_comptime_reinterpreted_pointer.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
local_shadows_global_that_occurs_later.zig AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03: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 AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03:00
local_variable_shadowing_global.zig AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03: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
member_function_arg_mismatch.zig Sema: add declared here note to function call errors 2022-08-09 23:37:26 +03:00
method_call_with_first_arg_type_primitive.zig Sema: add some more 'declared here' notes 2022-07-23 15:40:12 +03:00
method_call_with_first_arg_type_wrong_container.zig fix compile error test case note column number 2022-07-29 02:35:06 -07: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_digit_after_base.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
missing_else_clause.zig AstGen: store void to ptr result loc when there is no else branch 2022-09-21 20:21:02 +03: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
mod_assign_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
mod_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
mul_overflow_in_function_evaluation.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
mult_assign_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
mult_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
multiple_function_definitions.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
negate_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
negation_overflow_in_function_evaluation.zig Sema: panic at comptime + misc error message improvements 2022-07-07 10:50:05 +03:00
nested_error_set_mismatch.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +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
noalias_param_coersion.zig Sema: fix noalias coercion error message 2022-09-02 17:57:11 +03:00
noinline_fn_cc_inline.zig stage2: implement noinline fn 2022-07-24 11:56:33 +03:00
non_comptime_param_in_comptime_function.zig fix(text): hyphenation and other fixes 2022-10-05 21:19:10 +02:00
non_constant_expression_in_array_size.zig Sema: allow runtime only instructions to be emitted in outside functions 2022-10-20 20:11:00 +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
non_void_error_union_payload_ignored.zig stage2: add error for non-void error union payload being ignored 2022-10-06 15:39:06 +03:00
non-comptime-parameter-used-as-array-size.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
non-const_expression_function_call_with_struct_return_value_outside_function.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03: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 fix(text): hyphenation and other fixes 2022-10-05 21:19:10 +02:00
non-const_variables_of_things_that_require_const_variables.zig fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02:00
non-enum_tag_type_passed_to_union.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07: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 fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02:00
non-integer_tag_type_to_automatic_union_enum.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
non-integer_tag_type_to_enum.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
non-pure_function_returns_type.zig Sema: allow runtime only instructions to be emitted in outside functions 2022-10-20 20:11:00 +03:00
noreturn_struct_field.zig Sema: properly handle noreturn fields in unions 2022-08-17 22:07:48 +03: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 stage2: correct node offset of nested declarations 2022-08-09 11:59:10 +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
old_fn_ptr_in_extern_context.zig Sema: disallow using stage1 fn ptrs in extern contexts 2022-10-06 20:09:45 +03: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
opaque_type_with_field.zig AstGen: add error for fields in opaque types 2022-07-21 12:21:30 -07:00
or_on_undefined_value.zig Sema: improve source location after as_node is used 2022-09-16 14:47:17 -04:00
orelse_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04: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
overflow_in_enum_value_allocation.zig Sema: add error for enum tag value overflow 2022-09-02 17:57:11 +03:00
packed_struct_backing_int_wrong.zig stage2: Implement explicit backing integers for packed structs 2022-08-10 19:54:45 +02:00
packed_struct_field_alignment_unavailable_for_reify_type.zig Sema: require reified packed struct fields to have zero alignment 2022-10-03 13:05:12 +03:00
packed_struct_with_fields_of_not_allowed_types.zig Sema: check for slices in packed and extern type validation 2022-09-23 17:39:06 +03:00
packed_union_given_enum_tag_type.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
packed_union_with_automatic_layout_field.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03: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 AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes 2022-10-07 11:04:02 +03:00
pass_const_ptr_to_mutable_ptr_fn.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07: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
peer_cast_then_implicit_cast_const_pointer_to_mutable_C_pointer.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +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_attributes_checked_when_coercing_pointer_to_anon_literal.zig Sema: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
pointer_to_noreturn.zig stage2: better pointer source location 2022-07-21 12:21:30 -07: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
pointless discard.zig add compile error test for pointless discards 2022-09-13 10:01:17 -07:00
popCount-non-integer.zig stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
primitives_take_precedence_over_declarations.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
ptrCast_discards_const_qualifier.zig Sema: do not use coerceCompatiblePtr for ptrCast 2022-09-19 18:34:53 +03: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: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +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 stage2: improve source location of assignment 2022-10-20 20:11:00 +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 stage2: improve source location of assignment 2022-10-20 20:11:00 +03: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_type_for_exhaustive_enum_with_non-integer_tag_type.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_for_exhaustive_enum_with_undefined_tag_type.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_for_tagged_union_with_extra_enum_field.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_for_tagged_union_with_extra_union_field.zig stage2: pass anon name strategy to reify 2022-08-08 18:28:39 -07:00
reify_type_union_payload_is_undefined.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_with_Type.Int.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type_with_undefined.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type.Fn_with_is_generic_true.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type.Fn_with_is_var_args_true_and_non-C_callconv.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +03:00
reify_type.Fn_with_return_type_null.zig Sema: implement @Type for functions 2022-07-30 00:18:08 +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_generic_call.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.zig Sema: add "cannot convert to payload type" error notes 2022-07-11 14:17:22 +03:00
return_from_defer_expression.zig stage2: change how defers are stored in Zir 2022-09-12 01:52:44 -04:00
return_invalid_type_from_test.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +03:00
runtime_cast_to_union_which_has_non-void_fields.zig Sema: properly handle noreturn fields in unions 2022-08-17 22:07:48 +03:00
runtime_index_into_comptime_type_slice.zig fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02:00
runtime_indexing_comptime_array.zig fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02:00
runtime_to_comptime_num.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
runtime_value_in_switch_prong.zig fix hyphenation in test case 2022-10-12 16:10:57 +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
self_referential_struct_requires_comptime.zig Sema: fix infinite recursion in explainWhyTypeIsComptime 2022-08-06 14:17:09 +03:00
self_referential_union_requires_comptime.zig Sema: fix infinite recursion in explainWhyTypeIsComptime 2022-08-06 14:17:09 +03:00
sema_src_used_after_inline_call.zig Sema: restore sema.src after inline call 2022-10-08 16:58:26 +03: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
shifting_without_int_type_or_comptime_known.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
shlExact_shifts_out_1_bits.zig stage2: add compile error for shlExact overflow 2022-08-10 16:14:30 -04:00
shrExact_shifts_out_1_bits.zig stage2: add compile errors for comptime @shrExact and @divExact failures 2022-08-15 11:28:42 +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_division.zig Sema: add error for signed integer division 2022-08-12 11:45:11 +03: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: check pointer qualifiers before implicit cast 2022-09-20 00:50:13 +03:00
slice_of_non_array_type.zig Sema: fix crash on slice of non-array type 2022-08-24 21:31:02 +03:00
slice_of_pointer_must_include_end_value.zig Sema: fix error location when casting pointer to slice 2022-10-06 21:18:01 +03:00
slice_passed_as_array_init_type_with_elems.zig stage2: better pointer source location 2022-07-21 12:21:30 -07:00
slice_passed_as_array_init_type.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
slice_used_as_extern_fn_param.zig Sema: check for slices in packed and extern type validation 2022-09-23 17:39:06 +03:00
slicing_single-item_pointer.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
specify_enum_tag_type_that_is_too_small.zig Sema: add error for enum tag value overflow 2022-09-02 17:57:11 +03:00
specify_non-integer_enum_tag_type.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
src_fields_runtime.zig stage2: make line field of @src runtime known 2022-07-07 10:50:06 +03:00
src_outside_function.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03:00
std.fmt_error_for_unused_arguments.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +03:00
struct_depends_on_itself_via_optional_field.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +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_passed_to_type_param.zig add error tests for now correctly behaving cases 2022-08-28 15:41:21 +03: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_assign_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04:00
sub_on_undefined_value.zig organize some compile error tests 2022-09-15 14:40:45 -04: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_when_else_present.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02: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_or_overlapping_integer_value.zig Sema: misc error message fixes 2022-07-07 10:50:06 +03: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-duplicate_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
switch_expression-missing_enumeration_prong.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07: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 Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
switch_on_slice.zig Sema: add error for switch on slice 2022-08-28 15:41:21 +03: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
switching_with_non-exhaustive_enums.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
tag_capture_on_non_inline_prong.zig add inline switch union tag captures 2022-09-27 18:33:23 +03:00
tagName_on_invalid_value_of_non-exhaustive_enum.zig stage2: correct node offset of nested declarations 2022-08-09 11:59:10 +03: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
top_level_decl_dependency_loop.zig stage2: implement referenced by trace for error messages 2022-09-15 00:50:18 +03: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
try_return.zig AstGen: use reachableExpr for try operand 2022-09-02 17:57:10 +03:00
tuple_init_edge_cases.zig stage2: handle tuple init edge cases 2022-07-29 10:12:36 +03:00
type_checking_function_pointers.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07: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_mismatch_with_tuple_concatenation.zig Sema: implement coercion from tuples to tuples 2022-07-30 00:18:08 +03:00
type_variables_must_be_constant.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03:00
uncreachable_else_prong_err_set.zig stage2: change how defers are stored in Zir 2022-09-12 01:52:44 -04: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
undeclared_identifier.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_else.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
unhandled_enum_value_in_switch_with_enum_declared_in_other_file.zig sema: load the correct AST in addFieldErrNote 2022-09-25 10:28:48 +02:00
union_init_with_none_or_multiple_fields.zig Sema: fix segfault when union init with empty field 2022-09-27 13:23:51 +03:00
union_noreturn_field_initialized.zig Sema: properly handle noreturn fields in unions 2022-08-17 22:07:48 +03:00
union_with_specified_enum_omits_field.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
unknown_length_pointer_to_opaque.zig stage2: better pointer source location 2022-07-21 12:21:30 -07: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_parameter.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07: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
unused_value_in_switch_in_loop.zig AstGen: make loop body's ResultLoc .none 2022-09-21 20:20:05 +03:00
unused_variable_error_on_errdefer.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
use_anyopaque_as_return_type_of_fn_ptr.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
use_implicit_casts_to_assign_null_to_non-nullable_pointer.zig Sema: disallow 'align' on functions on wasm 2022-07-21 12:21:30 -07:00
use_invalid_number_literal_as_array_index.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03:00
use_of_undeclared_identifier.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
using_an_unknown_len_ptr_type_instead_of_array.zig stage2: better pointer source location 2022-07-21 12:21:30 -07:00
usingnamespace_with_wrong_type.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03: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
variadic_arg_validation.zig Sema: add more validation to coerceVarArgParam 2022-09-01 13:16:33 +03:00
vector_index_out_of_bounds.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03: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
while_expected_error_union_got_bool.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
while_expected_error_union_got_optional.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
while_expected_optional_got_bool.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
while_expected_optional_got_error_union.zig AstGen: better source location for if/while condition unwrapping 2022-08-03 16:45:33 +03:00
while_loop_body_expression_ignored.zig AstGen: check loop bodies and else branches for unused result 2022-08-03 16:45:33 +03:00
write_to_const_global_variable.zig stage2: improve source location of assignment 2022-10-20 20:11:00 +03:00
wrong_initializer_for_union_payload_of_type_type.zig Sema: bad union field access safety 2022-07-23 15:40:11 +03:00
wrong_number_of_arguments_for_method_fn_call.zig Sema: add declared here note to function call errors 2022-08-09 23:37:26 +03:00
wrong_number_of_arguments.zig Sema: add declared here note to function call errors 2022-08-09 23:37:26 +03:00
wrong_pointer_coerced_to_pointer_to_opaque_{}.zig Sema: better source location for function call args 2022-07-21 12:21:30 -07:00
wrong_size_to_an_array_literal.zig stage2: handle tuple init edge cases 2022-07-29 10:12:36 +03: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
wrong_types_given_to_atomic_order_args_in_cmpxchg.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +03:00
wrong_types_given_to_export.zig Sema: better error when coercing error sets 2022-07-26 23:29:54 +03:00