zig/test/cases/compile_errors
2023-07-18 19:02:06 -07:00
..
async all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
stage1/obj all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
@intCast_on_vec.zig test cases: @intCast on vector 2023-06-27 19:57:19 -04:00
access_inactive_union_field_comptime.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -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 stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
addition_with_non_numbers.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
address_of_number_literal.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
address_of_threadlocal_not_comptime_known.zig stage2: address of threadlocal variable is not comptime known 2022-11-05 13:22:21 +02: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
alignment_of_enum_field_specified.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
anytype_param_requires_comptime.zig Sema: enhance generic call error message 2023-07-18 19:02:06 -07:00
array_access_of_non_array.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02:00
array_access_of_type.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
array_in_c_exported_function.zig Sema: fix fn_proto_param LazySrcLoc resolution 2023-07-18 19:02:06 -07:00
array_init_invalid_elem_count.zig Sema: fix missing error on mismatched array init count 2022-11-20 20:25:12 +02:00
array_mult_with_number_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
as_many_ptr_undefined.zig behavior: boolean vector with 2 or more elements 2023-06-27 19:57:23 -04: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_local_bad_coercion.zig AstGen: add source location to certain const initializers 2023-06-25 12:00:48 -07:00
assign_null_to_non-optional_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_through_constant_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_through_constant_slice.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
assign_to_constant_field.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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: replace backticks with single quotes 2023-01-30 15:20:16 +02: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_.Sub_.Max_or_.Min.zig cbe: fix remaining aarch64 issues 2023-04-21 16:36:31 -04: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_long_array_ptr.zig Add error for bad cast from *T to *[n]T 2023-03-16 13:00:36 +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_alignCast_at_comptime.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bad_alignment_in_implicit_cast_from_array_pointer_to_slice.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
bad_alignment_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
bad_member_access_on_tuple.zig Sema: fix unwrapping null when reporting error on member access 2023-01-22 01:04:20 +02:00
bad_usage_of_call.zig Sema: emit error for always_inline call of noinline function 2023-04-29 04:19:58 +02:00
binary_not_on_number_literal.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bitCast_to_enum_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bitCast_with_different_sizes_inside_an_expression.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
bitsize_of_packed_struct_checks_backing_int_ty.zig stage2: bitsize of packed struct should trigger backing int ty check 2022-11-05 12:54:38 +02:00
bogus_compile_var.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
bogus_method_call_on_slice.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
branch_in_comptime_only_scope_uses_condbr_inline.zig Update tests to new splat syntax 2023-07-12 15:35:57 -07:00
branch_on_undefined_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
break_void_result_location.zig AstGen: add source location to certain const initializers 2023-06-25 12:00:48 -07: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
call_optional_function.zig Sema: improve error message when calling optional function 2023-05-22 19:11:38 +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 all: rename i386 to x86 2022-11-04 00:09:27 +03:30
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 all: rename i386 to x86 2022-11-04 00:09:27 +03:30
callconv_vectorcall_on_unsupported_platform.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
calling_function_with_naked_calling_convention.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
calling_var_args_extern_function_passing_array_instead_of_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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
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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
cast_unreachable.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
cast_without_result_type_due_to_generic_parameter.zig cases: add tests for errors introduced by cast builtin result type inference 2023-06-25 13:28:32 +01:00
cast_without_result_type.zig cases: add tests for errors introduced by cast builtin result type inference 2023-06-25 13:28:32 +01:00
casting_bit_offset_pointer_to_regular_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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
cimport.zig Sema: pass c_import_buf to child block in more places 2022-11-26 18:05:27 +02:00
closure_get_depends_on_failed_decl.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
closure_get_in_param_ty_instantiate_incorrectly.zig Sema: add "parameter type declared here" note to type coercion 2022-12-03 00:48:04 +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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
combination_of_nosuspend_and_async.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
compare_optional_to_non_optional_with_incomparable_type.zig Sema: rewrite peer type resolution 2023-06-13 21:48:18 +01: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
compile_log_statement_inside_function_which_must_be_comptime_evaluated.zig stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
compile_log_statement_warning_deduplication_in_generic_fn.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
compile_log.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
compile_time_division_by_zero.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
compile_time_null_ptr_cast.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
compile_time_undef_ptr_cast.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
compileLog_of_tagged_enum_doesnt_crash_the_compiler.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
comptime_arg_to_generic_fn_callee_error.zig Sema: fix error location on comptime arg to typed generic param 2023-02-01 20:50:43 +02:00
comptime_call_of_function_pointer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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_if_inside_runtime_for.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
comptime_implicit_cast_f64_to_f32.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02: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: explain why parameter must be declared comptime 2022-11-29 21:44:08 +02: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_does_not_match_memory_at_target_index_unterminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_does_not_match_target-sentinel.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_is_out_of_bounds_terminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_slice-sentinel_is_out_of_bounds_unterminated.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
comptime_store_in_comptime_switch_in_runtime_if.zig std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01: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_try_non_error.zig Fix test case added in 6d7fb8f 2023-03-09 23:25:38 +02:00
comptime_unreachable.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
comptime_vector_overflow_shows_the_index.zig std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06:00
condition_comptime_reason_explained.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07: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
constant_inside_comptime_function_has_compile_error.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
container_init_with_non-type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
control_flow_uses_comptime_var_at_runtime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
dereference_anyopaque.zig std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01:00
dereference_slice.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
directly_embedding_opaque_type_in_struct_and_union.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
disallow_coercion_from_non-null-terminated_pointer_to_null-terminated_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
discarded_array_bad_elem_type.zig AstGen: fix result locations for elements of typed array init 2023-06-26 16:20:33 -07:00
discarding_error_value.zig Sema: replace backticks with single quotes 2023-01-30 15:20:16 +02: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
div_overflow.zig Sema: detect division overflow 2022-11-04 23:13:29 +02:00
division_by_zero.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
double_pointer_to_anyopaque_pointer.zig sema: improve the error message when coercing to []anyopaque 2023-04-30 16:40:06 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
duplicate-unused_labels.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
embed_outside_package.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
embedFile_with_bogus_file.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
enum_value_already_taken.zig Sema: handle enum expressions referencing local variables 2023-01-05 22:03:32 +02:00
enum_with_declarations_unavailable_for_reify_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
enumFromInt_on_non-exhaustive_enums_checks_int_in_range.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
error_in_call_builtin_args.zig update usages of @call 2022-12-13 13:14:20 +02:00
error_in_comptime_call_in_container_level_initializer.zig Sema: do not immediately destroy failed generic instantiation 2023-01-03 18:38:15 +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_in_typeof_param.zig fix(text): hyphenate "comptime" adjectives 2022-10-05 21:19:30 +02:00
error_not_handled_in_switch.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
error_note_for_function_parameter_incompatibility.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
error_set_membership.zig add test coverage for fixed bug. closes #5410 2023-02-19 21:18:27 -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
error_when_evaluating_return_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +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
expected_optional_type_in_for.zig test cases: expected optional type in for loop 2023-06-27 19:57:23 -04:00
explain_why_fn_is_called_at_comptime.zig Sema: further enhance explanation of why expr is evaluated at comptime 2022-10-28 13:31:16 +03:00
explain_why_generic_fn_is_called_at_comptime.zig Sema: further enhance explanation of why expr is evaluated at comptime 2022-10-28 13:31:16 +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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
explicitly_casting_non_tag_type_to_enum.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
export_function_with_comptime_parameter.zig Sema: fix fn_proto_param LazySrcLoc resolution 2023-07-18 19:02:06 -07:00
export_generic_function.zig Sema: fix fn_proto_param LazySrcLoc resolution 2023-07-18 19:02:06 -07:00
export_with_empty_name_string.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
exported_enum_without_explicit_integer_tag_type.zig correct error note and check type of extern variables 2023-05-15 04:52:02 +03:00
exporting_primitive_values.zig AstGen: compile-error on primitive value export 2023-03-04 22:52:57 +02:00
extern_function_pointer_mismatch.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern_function_with_comptime_parameter.zig Sema: fix fn_proto_param LazySrcLoc resolution 2023-07-18 19:02:06 -07:00
extern_struct_with_extern-compatible_but_inferred_integer_tag_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern_struct_with_non-extern-compatible_integer_tag_type.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +02:00
extern_union_field_missing_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern_union_given_enum_tag_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
extern_variable_has_no_type.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
extern_variable_has_non_extern_type.zig correct error note and check type of extern variables 2023-05-15 04:52:02 +03:00
field_access_of_opaque_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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_access_of_wrapped_type.zig Sema: improve error message of field access of wrapped type 2023-03-21 00:34:12 +02: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
fieldParentPtr-comptime_wrong_field_index.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 Sema: implement @fieldParentPtr for unions 2023-02-21 15:57:13 +02:00
file_level_struct_invalid_field_type.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +02: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_discard_unbounded.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_empty.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_extra_capture.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
for_extra_condition.zig AstGen: add error for discard of unbounded counter 2023-02-18 19:17:21 -07:00
for_invalid_ranges.zig AstGen: make sure for range start and end are usizes 2023-07-10 10:51:55 -07: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
for_loop_break_value_ignored.zig fix broken test cases exposed by ec445fb6b8 2023-03-21 20:57:14 +02:00
for_unbounded.zig implement error for unbounded for loops 2023-02-18 19:20:19 -07:00
for.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_alignment_non_power_of_2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_call_assigned_to_incorrect_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_parameter_is_opaque.zig Type: remove arbitrary restrictions on param and return types 2023-06-20 21:51:01 -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 Type: remove arbitrary restrictions on param and return types 2023-06-20 21:51:01 -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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_with_non-extern_non-packed_struct_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
function_with_non-extern_non-packed_union_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
generic_function_call_assigned_to_incorrect_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
generic_function_instance_with_non-constant_expression.zig Sema: fix compile error source location regressions 2023-07-18 19:02:06 -07:00
generic_function_instantiation_inherits_parent_branch_quota.zig Sema: remove generic function from monomorphed_funcs on any error 2023-01-05 14:26:53 +02:00
generic_instantiation_failure_in_generic_function_return_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
generic_instantiation_failure.zig Sema: do not immediately destroy failed generic instantiation 2023-01-03 18:38:15 +02: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
global_variable_initializer_must_be_constant_expression.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
global_variable_stored_in_global_const.zig Module: fix compile error for non-comptime-known global initializer 2022-11-20 20:25:12 +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 re-enable test-cases and get them all passing 2023-03-15 10:48:14 -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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ignored_comptime_statement_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ignored_comptime_value.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
ignored_deferred_function_call.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ignored_deferred_statement_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ignored_expression_in_while_continuation.zig Sema: replace backticks with single quotes 2023-01-30 15:20:16 +02:00
ignored_return_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ignored_statement_value.zig Sema: improve expression value ignored error 2022-07-26 16:40:24 +03:00
illegal_comparison_of_types.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 cases: more test coverage 2022-12-21 23:34:29 +01:00
implicit_cast_from_array_to_mutable_slice.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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 stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07: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_casting_null_c_pointer_to_zig_pointer.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
implicit_dependency_on_libc.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
implicit_semicolon-block_expr.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-block_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-comptime_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-comptime_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-defer.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-for_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-for_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if-else_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-if-else-if-else_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-test_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-test_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while-continue_expression.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
implicit_semicolon-while-continue_statement.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
implicitly_increasing_slice_alignment.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
import_outside_package.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
incompatible sub-byte fields.zig Improve error messages for break type coercion 2023-03-21 15:09:42 +02:00
incompatible_sentinels.zig Sema: add notes about function return type 2022-07-11 17:55:19 +03:00
incorrect_pointer_dereference_syntax.zig Sema: add error note for wrong pointer dereference syntax 2022-10-29 14:55:43 +03:00
incorrect_return_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
incorrect_type_to_memset_memcpy.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
increase_pointer_alignment_in_ptrCast.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
indexing_a_undefined_slice_at_comptime.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02: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_non-tuple_struct.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02:00
indexing_single-item_pointer.zig Sema: fix and improve errors for for loop objects and non-indexables 2023-05-06 09:32:34 +02:00
indirect_struct_loop.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
inferred_array_size_invalid_here.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
inferring_error_set_of_function_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
initializing_array_with_struct_syntax.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
inline_call_runtime_value_to_comptime_param.zig Sema: ensure args to inline comptime args are comptime-known 2023-01-30 15:20:16 +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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
int_to_err_non_global_invalid_number.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
int-float_conversion_to_comptime_int-float.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
integer_cast_truncates_bits.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
integer_overflow_error.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
integer_underflow_error.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
intFromFloat_comptime_safety.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
intFromPtr_0_to_non_optional_pointer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
invalid_address_space_coercion.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
invalid_array_elem_ty.zig Sema: improve array source location 2022-07-07 10:50:06 +03:00
invalid_array_elem_type.zig Sema: validate array element types 2023-04-05 14:45:56 +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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_capture_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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_compare_string.zig AstGen: add error for invalid string comparisons 2022-12-03 00:09:23 +02:00
invalid_comparison_for_function_pointers.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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_decltest.zig AstGen: fix crash on invalid decltest 2023-01-30 15:20:16 +02:00
invalid_dependency_on_struct_size.zig Sema: add error for failed assumption about struct having runtime bits 2022-12-02 18:46:59 +02:00
invalid_deref_on_switch_target.zig Sema: validate deref operator type and value 2022-07-01 10:22:25 +03:00
invalid_duplicate_test_decl_name.zig Sema: simplify "duplicate test name" error message 2023-05-18 19:17:04 -07: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: validate inferred error set payload type 2023-02-11 14:36:54 +02: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_field_in_struct_value_expression.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_float_casts.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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 re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_peer_type_resolution.zig Sema: rewrite peer type resolution 2023-06-13 21:48:18 +01:00
invalid_pointer_for_var_type.zig update test-cases for new for loop syntax 2023-02-18 19:17:21 -07:00
invalid_pointer_keeps_address_space_when_taking_address_of_dereference.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_shift_amount_error.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
invalid_store_to_comptime_field.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
invalid_struct_field.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
invalid_tag_capture.zig add inline switch union tag captures 2022-09-27 18:33:23 +03:00
invalid_tail_call.zig update usages of @call 2022-12-13 13:14:20 +02:00
invalid_type_in_builtin_extern.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
invalid_variadic_function.zig Sema: infrastructure for supporting more than .C callconv for variadic functions 2023-07-08 18:05:03 -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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
issue_4207_coerce_from_non-terminated-slice_to_terminated-pointer.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
issue_5221_invalid_struct_init_type_referenced_by_typeInfo_and_passed_into_function.zig Fix error reporting the wrong line for struct field inits (#13502) 2022-11-15 15:17:23 +02:00
issue_5618_coercion_of_optional_anyopaque_to_anyopaque_must_fail.zig Sema: replace backticks with single quotes 2023-01-30 15:20:16 +02:00
issue_7810-comptime_slice-len_increment_beyond_bounds.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +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
issue_15572_break_on_inline_while.zig module: return null if no candidate src 2023-05-11 11:21:44 +03:00
Issue_5586_Make_unary_minus_for_unsigned_types_a_compile_error.zig std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06: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
lazy_pointer_with_undefined_element_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
leading_zero_in_integer.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
len_access_on_array_many_ptr.zig Sema: allow ptr field access on pointer-to-array 2023-04-20 09:05:22 -07:00
load_too_many_bytes_from_comptime_reinterpreted_pointer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
load_vector_pointer_with_unknown_runtime_index.zig port packed vector elem ptr logic from stage1 2022-12-15 21:06:35 -05: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
local_variable_redeclares_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
local_variable_shadowing_global.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 Zir: eliminate field_call_bind and field_call_bind_named 2023-05-20 12:27:48 -07:00
method_call_with_first_arg_type_primitive.zig Sema: improve error message when calling non-member function as method 2023-03-12 18:47:02 +02:00
method_call_with_first_arg_type_wrong_container.zig Sema: improve error message when calling non-member function as method 2023-03-12 18:47:02 +02:00
missing_boolean_switch_value.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_builtin_arg_in_initializer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
missing_const_in_slice_with_nested_array_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_digit_after_base.zig validate number literals in AstGen 2022-09-13 20:26:04 -04:00
missing_else_clause.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_field_in_struct_value_expression.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_function_name.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_main_fn_in_executable.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_member_in_namespace_export.zig Sema: add missing failWithBadMemberAccess to zirExport 2022-11-29 21:44:08 +02:00
missing_param_name.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
missing_parameter_name_of_generic_function.zig move passing stage1 compile error tests to stage2 2022-06-30 09:57:38 +02:00
missing_parameter_name.zig AstGen: improve error message for missing parameter name 2022-12-02 15:39:40 +02:00
missing_result_type_for_phi_node.zig Improve error messages for break type coercion 2023-03-21 15:09:42 +02:00
missing_struct_field_in_fn_called_at_comptime.zig Sema: fix memory management of missing field error 2022-11-20 20:25:12 +02:00
misspelled_type_with_pointer_only_reference.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
muladd_int_vector.zig Add a compiler error for @mulAdd with int vectors. 2023-06-13 10:45:57 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
nested_error_set_mismatch.zig AstGen: add source location to certain const initializers 2023-06-25 12:00:48 -07:00
nested_generic_function_param_type_mismatch.zig Sema: fix condition for omitting comptime arg from function type 2023-01-11 21:11:21 +02:00
nested_ptr_cast_bad_operand.zig cases: add tests for errors introduced by cast builtin result type inference 2023-06-25 13:28:32 +01:00
nested_vectors.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
never_inline_call_of_inline_fn_with_comptime_param.zig test cases: never-inline call of inline function with comptime parameter 2023-06-27 19:57:23 -04: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_on_non_pointer_param.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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_intFromFloat.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
non_int_passed_to_floatFromInt.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
non_pointer_given_to_intFromPtr.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
non-const_expression_function_call_with_struct_return_value_outside_function.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
non-const_expression_in_struct_literal_outside_function.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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_builtins_divert_control_flow.zig make @trap return unreachable/noreturn (#15749) 2023-05-18 17:00:35 -04:00
noreturn_struct_field.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +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 stage2: correct node offset of nested declarations 2022-08-09 11:59:10 +03:00
number_literal_bad_exponent.zig Fix parsing of hexadecimal literals 2023-05-07 08:05:53 +00:00
offsetOf-bad_field_name.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
offsetOf-non_struct.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
old_fn_ptr_in_extern_context.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
only_untyped_undef_coerces_to_all_types.zig Sema: only untyped undefined should coerce to all types 2023-01-05 14:26:53 +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_bounds_index.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
out_of_int_range_comptime_float_passed_to_intFromFloat.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
overflow_in_enum_value_allocation.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01:00
packed_struct_with_fields_of_not_allowed_types.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +02:00
packed_union_given_enum_tag_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
packed_union_with_automatic_layout_field.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
panic_called_at_compile_time.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
parameter_redeclaration.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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
passing_an_under-aligned_function_pointer.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
pointer_to_anyopaque_slice.zig sema: improve the error message when coercing to []anyopaque 2023-04-30 16:40:06 -07:00
pointer_to_noreturn.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
pointer_with_different_address_spaces.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
pointers_with_different_address_spaces.zig Prevent analysis of functions only referenced at comptime 2023-05-29 23:06:08 +01:00
pointless discard.zig AstGen: make pointless discard error more strict 2022-11-11 17:59:53 +02: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
private_main_fn.zig re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
ptrCast_discards_const_qualifier.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ptrcast_to_non-pointer.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ptrFromInt_non_ptr_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
ptrFromInt_with_misaligned_address.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
range_operator_in_switch_used_on_error_set.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
reading_past_end_of_pointer_casted_array.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
reassign_to_array_parameter.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
recursive_inline_fn.zig Sema: add error for recursive inline call 2022-12-26 16:36:30 +02:00
redefinition_of_enums.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
redefinition_of_global_variables.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
redefinition_of_struct.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
redundant_ptr_cast.zig cases: add tests for errors introduced by cast builtin result type inference 2023-06-25 13:28:32 +01: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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: replace backticks with single quotes 2023-01-30 15:20:16 +02:00
reified_enum_field_value_overflow.zig std.builtin: remove layout field from Type.Enum 2022-12-18 13:31:38 +01:00
reify_enum_with_duplicate_field.zig std.builtin: remove layout field from Type.Enum 2022-12-18 13:31:38 +01:00
reify_enum_with_duplicate_tag_value.zig std.builtin: remove layout field from Type.Enum 2022-12-18 13:31:38 +01:00
reify_struct.zig std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01:00
reify_type_for_exhaustive_enum_with_non-integer_tag_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
reify_type_for_exhaustive_enum_with_undefined_tag_type.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
reify_type_for_tagged_union_with_extra_enum_field.zig std.builtin: remove layout field from Type.Enum 2022-12-18 13:31:38 +01:00
reify_type_for_tagged_union_with_extra_union_field.zig std.builtin: remove layout field from Type.Enum 2022-12-18 13:31:38 +01:00
reify_type_for_union_with_opaque_field.zig std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01:00
reify_type_union_payload_is_undefined.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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: correctly detect use of undefined within slices in @Type 2023-03-10 12:18:06 +02:00
reify_type.Fn_with_is_generic_true.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
reify_type.Fn_with_is_var_args_true_and_non-C_callconv.zig Sema: infrastructure for supporting more than .C callconv for variadic functions 2023-07-08 18:05:03 -04:00
reify_type.Fn_with_return_type_null.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
resolve_inferred_error_set_of_generic_fn.zig Sema: add error for resolving inferred error set of generic function 2023-05-11 17:23:06 +03:00
result_location_incompatibility_mismatching_handle_is_ptr_generic_call.zig Sema: replace backticks with single quotes 2023-01-30 15:20:16 +02:00
result_location_incompatibility_mismatching_handle_is_ptr.zig Sema: replace backticks with single quotes 2023-01-30 15:20:16 +02:00
return_from_defer_expression.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
return_incompatible_generic_struct.zig add tests for fixed stage1 bugs 2022-12-29 12:42:44 +02:00
return_invalid_type_from_test.zig stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
runtime_assignment_to_comptime_struct_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
runtime_assignment_to_comptime_union_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 re-enable test-cases and get them all passing 2023-03-15 10:48:14 -07:00
runtime_indexing_comptime_array.zig fix(text): hyphenate "runtime" adjectives 2022-10-05 21:33:42 +02:00
runtime_to_comptime_num.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
saturating_shl_assign_does_not_allow_negative_rhs_at_comptime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
saturating_shl_does_not_allow_negative_rhs_at_comptime.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
self_referential_struct_requires_comptime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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_amount_has_to_be_an_integer_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
shift_by_negative_comptime_integer.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +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 std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06: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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07: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_null_pointer.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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-1.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
slice_sentinel_mismatch-2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
slice_to_anyopaque_pointer.zig sema: add error for coercing a slice to an anyopaque pointer 2023-04-26 00:53:09 +03:00
slice_used_as_extern_fn_param.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
specify_non-integer_enum_tag_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
src_fields_runtime.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
store_vector_pointer_with_unknown_runtime_index.zig port packed vector elem ptr logic from stage1 2022-12-15 21:06:35 -05:00
struct_depends_on_itself_via_optional_field.zig Sema: improve circular dependency errors 2022-08-03 16:45:33 +03:00
struct_duplicate_field_name.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
struct_init_passed_to_type_param.zig Sema: add "parameter type declared here" note to type coercion 2022-12-03 00:48:04 +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_type_mismatch_in_arg.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
struct_type_returned_from_non-generic_function.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
struct_with_declarations_unavailable_for_reify_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
struct_with_invalid_field.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
suspend_inside_suspend_block.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_capture_incompatible_types.zig Sema: resolve union payload switch captures with peer type resolution 2023-06-13 12:55:22 +01:00
switch_expression-duplicate_enumeration_prong_when_else_present.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_enumeration_prong.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_or_overlapping_integer_value.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_type_struct_alias.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-duplicate_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-missing_enumeration_prong.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-switch_on_pointer_type_with_no_else.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_enum.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_range_i8.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_range_u8.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_u1.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switch_expression-unreachable_else_prong_u2.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 AstGen: add error for invalid string comparisons 2022-12-03 00:09:23 +02:00
switch_on_union_with_no_attached_enum.zig Fix bad source locations in switch capture errors 2023-06-13 12:55:27 +01: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
switching_with_non-exhaustive_enums.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -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 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
tagName_used_on_union_with_no_associated_enum_tag.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
too_big_packed_struct.zig Sema: add error for too big packed struct 2022-10-27 01:31:18 +03:00
top_level_decl_dependency_loop.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
truncate_sign_mismatch.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
try_in_function_with_non_error_return_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
try_return.zig AstGen: use reachableExpr for try operand 2022-09-02 17:57:10 +03:00
tuple_declarations.zig AstGen: add note pointing to tuple field 2023-01-11 21:11:21 +02:00
tuple_init_edge_cases.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
tuple_ptr_to_mut_slice.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
type_checking_function_pointers.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
type_error_in_implicit_return.zig Sema: improve error for mismatched type in implicit return 2022-12-03 00:48:03 +02: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 stage2: pass most test cases under InternPool 2023-06-10 20:51:10 -07:00
type_variables_must_be_constant.zig stage2: better source location for var decls 2022-08-01 23:37:01 +03:00
unable_to_evaluate_comptime_expr.zig add missing note "operation is runtime due to this operand" 2023-05-31 19:18:36 +03:00
unable_to_evaluate_expr_inside_cimport.zig Sema: further enhance explanation of why expr is evaluated at comptime 2022-10-28 13:31:16 +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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
undefined_as_field_type_is_rejected.zig Port some stage1 test cases to stage2 2023-03-20 19:55:50 -04: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 update test-cases for new for loop syntax 2023-02-18 19:17:21 -07: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 Change math.Order order (#16356) 2023-07-09 01:22:52 -04:00
union_access_of_inactive_field.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_auto-enum_value_already_taken.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
union_duplicate_enum_field.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_duplicate_field_definition.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_enum_field_does_not_match_enum.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
union_enum_field_missing.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_extra_field.zig Sema: improve struct/union field error locations 2023-01-05 13:11:36 +02:00
union_fields_are_resolved_before_tag_type_is_needed.zig Sema: resolve union fields before using getTagType 2022-11-26 18:05:27 +02:00
union_init_with_non_type_as_first_param.zig Fixes wrong error location for unionInit when first parameter is not a type (#16384) 2023-07-11 23:35:50 -07:00
union_init_with_none_or_multiple_fields.zig AstGen: add source location to certain const initializers 2023-06-25 12:00:48 -07:00
union_init_with_struct_as_first_param.zig Fixes crash when a struct is given as the first parameter to the unionInit builtin (#16385) 2023-07-11 23:37:42 -07:00
union_noreturn_field_initialized.zig Sema: properly handle noreturn fields in unions 2022-08-17 22:07:48 +03:00
union_runtime_coercion_from_enum.zig move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00
union_with_specified_enum_omits_field.zig Sema: more union and enum tag type validation 2022-07-21 12:21:30 -07:00
union_with_too_small_explicit_signed_tag_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02:00
union_with_too_small_explicit_unsigned_tag_type.zig Sema: implement missing stage1 errors 2022-12-14 14:08:21 +02: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
unreachable_variable.zig Sema: validate pointer types 2022-07-07 10:50:05 +03:00
unreachable_with_return.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
unused_value_in_switch_in_loop.zig Improve error messages for break type coercion 2023-03-21 15:09:42 +02: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 Improvements to docs and text 2023-04-23 21:06:21 +03:00
vector_index_out_of_bounds.zig std.meta: remove Vector (deprecated in 0.10) 2023-06-13 23:45:08 +06: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_bool_got_optional.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_error_union_got_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_error_union_got_optional.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_optional_got_bool.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
while_expected_optional_got_error_union.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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
while_loop_break_value_ignored.zig fix broken test cases exposed by ec445fb6b8 2023-03-21 20:57:14 +02:00
write_to_const_global_variable.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_function_type.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_number_of_arguments.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
wrong_pointer_coerced_to_pointer_to_opaque_{}.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
wrong_size_to_an_array_literal.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07: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 all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
zero-bit_generic_args_are_coerced_to_param_type.zig Sema: coerce zero-bit generic args are coerced properly 2022-10-27 13:40:20 +03:00