roc/crates/compiler/test_mono/generated
Elias Mulhall 82d0566041
Use module scope instead of var store to generate idents in dbg desugar
Fix a bug in `dbg` expression desugaring by using the module scope to
generate unique identifiers instead of the variable store.

In the initial implementation of `dbg` expressions we used the
`VarStore` to generate unique identifiers for new variables created
during desugaring. We should have instead used the current module's
`Scope`, which handles identifiers within the module. Each scope has its
own incrementing variable count which is independent of the shared
variable store. The scope is used to generate new identifiers at other
points in canonicalization, such as when assigning a global identifier
to closures and `expect`s. It's possible that the identifier generated
for `dbg` could conflict with an identifier generated by the scope,
resulting in a confusing error.
2024-09-03 14:00:39 -04:00
..
alias_variable.txt
alias_variable_and_return_it.txt Rip out polymorphic expression compilation 2023-01-21 12:37:09 -06:00
anonymous_closure_in_polymorphic_expression_issue_4717.txt Merge attempt 2024-08-19 23:34:05 -07:00
anonymous_closure_lifted_to_named_issue_2403.txt Correctly compile rvalue closures defined in nested defines to lvalues 2022-12-01 15:47:18 -06:00
as_pattern_in_closure_arg.txt Add mono tests for record pattern with as 2024-09-02 12:17:53 -03:00
binary_tree_fbip.txt Merge attempt 2024-08-19 23:34:05 -07:00
branch_store_variable.txt
call_function_in_empty_list.txt Merge attempt 2024-08-19 23:34:05 -07:00
call_function_in_empty_list_unbound.txt Merge attempt 2024-08-19 23:34:05 -07:00
capture_void_layout_task.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
choose_correct_recursion_var_under_record.txt Merge attempt 2024-08-19 23:34:05 -07:00
choose_i128_layout.txt Merge attempt 2024-08-19 23:34:05 -07:00
choose_u64_layout.txt Merge attempt 2024-08-19 23:34:05 -07:00
choose_u128_layout.txt Merge attempt 2024-08-19 23:34:05 -07:00
closure_in_list.txt Merge attempt 2024-08-19 23:34:05 -07:00
compose_recursive_lambda_set_productive_nullable_wrapped.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
crash.txt simplified join + mono 2023-04-26 20:11:44 +02:00
dbg_expr.txt Use module scope instead of var store to generate idents in dbg desugar 2024-09-03 14:00:39 -04:00
dbg_in_expect.txt Merge attempt 2024-08-19 23:34:05 -07:00
dbg_inside_string.txt Use module scope instead of var store to generate idents in dbg desugar 2024-09-03 14:00:39 -04:00
dbg_nested_expr.txt Use module scope instead of var store to generate idents in dbg desugar 2024-09-03 14:00:39 -04:00
dbg_str_followed_by_number.txt Merge attempt 2024-08-19 23:34:05 -07:00
dict.txt Merge attempt 2024-08-19 23:34:05 -07:00
drop_specialize_after_jump.txt Start drop specialisation for joinpoints 2023-06-10 23:53:19 +02:00
drop_specialize_after_struct.txt saved info and added test 2023-05-26 15:56:18 +02:00
drop_specialize_before_jump.txt progress 2023-06-10 23:55:09 +02:00
empty_list_of_function_type.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode_derived_nested_record_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode_derived_record_one_field_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode_derived_record_two_field_strings.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode_derived_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
encode_derived_tag_one_field_string.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
encode_derived_tag_two_payloads_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
error_on_erroneous_condition.txt Crash at runtime rather than panicking when if condition is erroneous 2023-05-01 15:48:05 -05:00
factorial.txt Merge attempt 2024-08-19 23:34:05 -07:00
fst.txt mono tests 2024-07-06 16:08:56 +02:00
function_pointer_lambda_set.txt Do not attempt to handle aliasing of procs in variable assignments 2022-12-01 15:20:58 -06:00
function_specialization_information_in_lambda_set_thunk.txt Merge attempt 2024-08-19 23:34:05 -07:00
function_specialization_information_in_lambda_set_thunk_independent_defs.txt Merge attempt 2024-08-19 23:34:05 -07:00
guard_pattern_true.txt Update mono tests 2023-03-25 16:14:30 -05:00
if_guard_bind_variable_false.txt updated tests 2023-04-16 16:34:41 +02:00
if_multi_branch.txt Consolidate mono test behavior in debug and release modes 2022-11-02 15:04:47 -05:00
inline_return_joinpoints_in_bool_lambda_set.txt Merge attempt 2024-08-19 23:34:05 -07:00
inline_return_joinpoints_in_enum_lambda_set.txt Merge attempt 2024-08-19 23:34:05 -07:00
inline_return_joinpoints_in_union_lambda_set.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
inspect_derived_dict.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_list.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_nested_record_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_record.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_record_one_field_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_record_two_field_strings.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_tag_one_field_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
inspect_derived_tag_two_payloads_string.txt Merge attempt 2024-08-19 23:34:05 -07:00
instantiate_annotated_as_recursive_alias_multiple_polymorphic_expr.txt Fix mono test 2023-01-18 10:06:14 -06:00
instantiate_annotated_as_recursive_alias_polymorphic_expr.txt Rip out polymorphic expression compilation 2023-01-21 12:37:09 -06:00
instantiate_annotated_as_recursive_alias_toplevel.txt
ir_assignment.txt
ir_int_add.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_int_literal.txt
ir_plus.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_round.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_two_defs.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_when_idiv.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_when_just.txt Merge attempt 2024-08-19 23:34:05 -07:00
ir_when_maybe.txt
ir_when_record.txt Update mono tests 2023-09-13 20:24:14 +02:00
ir_when_these.txt
is_nil.txt Updated tests 2023-04-05 21:09:42 +02:00
issue_2535_let_weakened_fields_referenced_in_list.txt move record index to start of update 2023-05-27 14:42:37 +02:00
issue_2583_specialize_errors_behind_unified_branches.txt Merge attempt 2024-08-19 23:34:05 -07:00
issue_2725_alias_polymorphic_lambda.txt Do not attempt to handle aliasing of procs in variable assignments 2022-12-01 15:20:58 -06:00
issue_2810.txt
issue_2811.txt
issue_3560_nested_tag_constructor_is_newtype.txt simplified join + mono 2023-04-26 20:11:44 +02:00
issue_3669.txt update mono tests 2023-06-27 19:39:26 +02:00
issue_4557.txt updated tests 2023-04-16 16:34:41 +02:00
issue_4705.txt Check in test for #4705 2022-12-07 10:59:05 -06:00
issue_4749.txt test_mono, uitest: rm stdlib Json dependency 2024-07-01 20:36:28 +02:00
issue_4759.txt For single update 2023-05-27 21:29:32 +02:00
issue_4770.txt Merge attempt 2024-08-19 23:34:05 -07:00
issue_4772_weakened_monomorphic_destructure.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
issue_5513.txt Create symbols for struct fields before record update 2024-02-02 23:49:48 +00:00
issue_6174.txt Don't skip closure captures when fixing them 2024-02-03 23:19:08 +00:00
issue_6196.txt Merge attempt 2024-08-19 23:34:05 -07:00
issue_6606_1.txt mono tests 2024-07-06 16:08:56 +02:00
issue_6606_2.txt update mono tests 2024-07-15 17:25:51 -07:00
lambda_capture_niche_u8_vs_u64.txt Merge attempt 2024-08-19 23:34:05 -07:00
lambda_capture_niches_have_captured_function_in_closure.txt mono tests 2024-07-06 16:08:56 +02:00
lambda_capture_niches_with_non_capturing_function.txt mono tests 2023-09-13 20:24:17 +02:00
lambda_capture_niches_with_other_lambda_capture.txt Merge attempt 2024-08-19 23:34:05 -07:00
lambda_set_niche_same_layout_different_constructor.txt mono tests 2024-07-06 16:08:56 +02:00
lambda_set_with_imported_toplevels_issue_4733.txt Merge attempt 2024-08-19 23:34:05 -07:00
layout_cache_structure_with_multiple_recursive_structures.txt Merge attempt 2024-08-19 23:34:05 -07:00
let_with_record_pattern.txt Update mono tests 2023-09-13 20:24:14 +02:00
let_with_record_pattern_list.txt Update mono tests 2023-09-13 20:24:14 +02:00
let_x_in_x.txt
let_x_in_x_indirect.txt Rip out polymorphic expression compilation 2023-01-21 12:37:09 -06:00
linked_list_filter.txt Merge attempt 2024-08-19 23:34:05 -07:00
linked_list_map.txt Merge attempt 2024-08-19 23:34:05 -07:00
linked_list_reverse.txt update mono tests 2023-06-27 19:39:26 +02:00
list_append.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_append_closure.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_cannot_update_inplace.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_get.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_len.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_map_closure_borrows.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_map_closure_owns.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_map_take_capturing_or_noncapturing.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
list_one_vs_one_spread_issue_4685.txt update mono tests 2024-07-15 17:25:51 -07:00
list_pass_to_function.txt Merge attempt 2024-08-19 23:34:05 -07:00
list_sort_asc.txt Merge attempt 2024-08-19 23:34:05 -07:00
match_list.txt Update mono tests 2024-02-15 06:47:14 -05:00
match_on_result_with_uninhabited_error_branch.txt
mk_pair_of.txt mono tests 2024-07-06 16:08:56 +02:00
monomorphized_applied_tag.txt simplified join + mono 2023-04-26 20:11:44 +02:00
monomorphized_floats.txt
monomorphized_ints.txt
monomorphized_list.txt mono tests 2024-07-06 16:08:56 +02:00
monomorphized_tag.txt Get started with semantic layouts for tag unions 2023-05-10 18:47:10 -05:00
monomorphized_tag_with_aliased_args.txt Consolidate mono test behavior in debug and release modes 2022-11-02 15:04:47 -05:00
multiline_record_pattern.txt Merge attempt 2024-08-19 23:34:05 -07:00
nested_closure.txt
nested_optional_field_with_binary_op.txt Merge attempt 2024-08-19 23:34:05 -07:00
nested_pattern_match.txt Merge attempt 2024-08-19 23:34:05 -07:00
non_nullable_unwrapped_instead_of_nullable_wrapped.txt When possible, prefer NonNullableUnwrapped over NullableWrapped 2023-07-16 20:06:46 +02:00
nullable_wrapped_with_nullable_not_last_index.txt updated tests 2023-04-16 16:34:41 +02:00
num_width_gt_u8_layout_as_float.txt Merge attempt 2024-08-19 23:34:05 -07:00
one_element_tag.txt
opaque_as_pattern_in_closure_arg.txt Add mono tests for opaque pattern with as 2024-09-02 12:23:25 -03:00
opaque_assign_to_symbol.txt
optional_field_with_binary_op.txt Merge attempt 2024-08-19 23:34:05 -07:00
optional_when.txt Merge attempt 2024-08-19 23:34:05 -07:00
order_list_size_tests_issue_4732.txt Update mono tests 2024-02-15 06:47:14 -05:00
pattern_as_nested.txt Working IR 2023-04-22 13:32:38 +02:00
pattern_as_of_symbol.txt updated tests 2023-04-16 16:34:41 +02:00
pattern_as_toplevel.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
peano.txt
peano1.txt update mono tests 2023-06-27 19:39:26 +02:00
peano2.txt update mono tests 2023-06-27 19:39:26 +02:00
polymorphic_expression_unification.txt Merge attempt 2024-08-19 23:34:05 -07:00
quicksort_help.txt Merge attempt 2024-08-19 23:34:05 -07:00
quicksort_swap.txt Merge attempt 2024-08-19 23:34:05 -07:00
rb_tree_fbip.txt Merge attempt 2024-08-19 23:34:05 -07:00
record_as_pattern_in_closure_arg.txt Fix record as pattern mono test 2024-09-02 12:29:14 -03:00
record_optional_field_function_no_use_default.txt Merge attempt 2024-08-19 23:34:05 -07:00
record_optional_field_function_use_default.txt Merge attempt 2024-08-19 23:34:05 -07:00
record_optional_field_let_no_use_default.txt Merge attempt 2024-08-19 23:34:05 -07:00
record_optional_field_let_use_default.txt Merge attempt 2024-08-19 23:34:05 -07:00
record_update.txt Merge attempt 2024-08-19 23:34:05 -07:00
recursive_call_capturing_function.txt Merge attempt 2024-08-19 23:34:05 -07:00
recursive_closure_with_transiently_used_capture.txt Check in mono golden 2023-03-21 07:18:12 -04:00
recursive_function_and_union_with_inference_hole.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
recursive_lambda_set_has_nested_non_recursive_lambda_sets_issue_5026.txt mono tests 2024-07-06 16:08:56 +02:00
recursive_lambda_set_resolved_only_upon_specialization.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
recursively_build_effect.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
rigids.txt Merge attempt 2024-08-19 23:34:05 -07:00
simple_if.txt Consolidate mono test behavior in debug and release modes 2022-11-02 15:04:47 -05:00
specialize_ability_call.txt
specialize_after_match.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
specialize_closures.txt Merge attempt 2024-08-19 23:34:05 -07:00
specialize_lowlevel.txt Merge attempt 2024-08-19 23:34:05 -07:00
tail_call_elimination.txt Merge attempt 2024-08-19 23:34:05 -07:00
tail_call_with_different_layout.txt preserve semantics in the glue generation 2023-07-09 15:47:28 +02:00
tail_call_with_same_layout_different_lambda_sets.txt preserve semantics in the glue generation 2023-07-09 15:47:28 +02:00
toplevel_accessor_fn_thunk.txt Update mono tests 2023-01-21 12:37:10 -06:00
tuple_pattern_match.txt implement mono / lowering for tuples 2023-02-07 18:54:50 -08:00
unreachable_branch_is_eliminated_but_produces_lambda_specializations.txt mono tests 2024-07-06 16:08:56 +02:00
unreachable_void_constructor.txt Update mono 2022-11-24 14:46:54 -06:00
unspecialized_lambda_set_unification_does_not_duplicate_identical_concrete_types.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
unspecialized_lambda_set_unification_keeps_all_concrete_types_without_unification.txt mono tests 2024-07-06 16:08:56 +02:00
unspecialized_lambda_set_unification_keeps_all_concrete_types_without_unification_of_unifiable.txt basic-cli 0.15, test fixes 2024-08-28 18:39:15 +02:00
weakening_avoids_overspecialization.txt Merge attempt 2024-08-19 23:34:05 -07:00
when_guard_appears_multiple_times_in_compiled_decision_tree_issue_5176.txt Merge attempt 2024-08-19 23:34:05 -07:00
when_joinpoint.txt
when_nested_maybe.txt Merge attempt 2024-08-19 23:34:05 -07:00
when_on_record.txt Merge attempt 2024-08-19 23:34:05 -07:00
when_on_result.txt
when_on_two_values.txt Merge attempt 2024-08-19 23:34:05 -07:00