roc/compiler/test_mono/generated
ayazhafiz 17029cff7e Link aliased lambdas to the partial procs of the original symbol
This ensures that we use the correct specialized variable at the call
site of a function. In #2725 what happened was that a generalized
function was aliased, causing it to undergo generalization again. Then,
we lost the variable used to specialize at the call site. Instead, just
link to the partial proc being aliased directly.

There is an added benefit here, which is that we can avoid the
possibly-quadratic replacement of symbols in the generated statement.

Closes #2725
2022-03-14 16:42:53 -05:00
..
alias_variable.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
alias_variable_and_return_it.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
aliased_polymorphic_closure.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
branch_store_variable.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
closure_in_list.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
dict.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
empty_list_of_function_type.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
factorial.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
fst.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
guard_pattern_true.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
has_none.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
if_guard_bind_variable_false.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
if_multi_branch.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_assignment.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_int_add.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_int_literal.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_plus.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_round.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_two_defs.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_when_idiv.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_when_just.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_when_maybe.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_when_record.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
ir_when_these.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
is_nil.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
issue_2535_polymorphic_fields_referenced_in_list.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
issue_2725_alias_polymorphic_lambda.txt Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
let_with_record_pattern.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
let_with_record_pattern_list.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
let_x_in_x.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
let_x_in_x_indirect.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
linked_list_length_twice.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
list_append.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
list_append_closure.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
list_cannot_update_inplace.txt bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
list_get.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
list_len.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
list_pass_to_function.txt bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
mk_pair_of.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_applied_tag.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_floats.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_ints.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_ints_aliased.txt Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
monomorphized_list.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_tag.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
monomorphized_tag_with_aliased_args.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
nested_closure.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
nested_pattern_match.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
one_element_tag.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
optional_when.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
peano.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
peano1.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
peano2.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
quicksort_help.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
quicksort_swap.txt bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
record_optional_field_function_no_use_default.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
record_optional_field_function_use_default.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
record_optional_field_let_no_use_default.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
record_optional_field_let_use_default.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
rigids.txt bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
simple_if.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
somehow_drops_definitions.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
specialize_closures.txt Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
specialize_lowlevel.txt Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
when_joinpoint.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
when_nested_maybe.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
when_on_record.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
when_on_result.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00
when_on_two_values.txt Make mono test output prettier 2022-02-21 14:10:45 -05:00