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
alias_variable_and_return_it.txt
aliased_polymorphic_closure.txt
branch_store_variable.txt
closure_in_list.txt
dict.txt
empty_list_of_function_type.txt
factorial.txt
fst.txt
guard_pattern_true.txt
has_none.txt
if_guard_bind_variable_false.txt
if_multi_branch.txt
ir_assignment.txt
ir_int_add.txt
ir_int_literal.txt
ir_plus.txt
ir_round.txt
ir_two_defs.txt
ir_when_idiv.txt
ir_when_just.txt
ir_when_maybe.txt
ir_when_record.txt
ir_when_these.txt
is_nil.txt
issue_2535_polymorphic_fields_referenced_in_list.txt
issue_2725_alias_polymorphic_lambda.txt
let_with_record_pattern.txt
let_with_record_pattern_list.txt
let_x_in_x.txt
let_x_in_x_indirect.txt
linked_list_length_twice.txt
list_append.txt
list_append_closure.txt
list_cannot_update_inplace.txt
list_get.txt
list_len.txt
list_pass_to_function.txt
mk_pair_of.txt
monomorphized_applied_tag.txt
monomorphized_floats.txt
monomorphized_ints.txt
monomorphized_ints_aliased.txt
monomorphized_list.txt
monomorphized_tag.txt
monomorphized_tag_with_aliased_args.txt
nested_closure.txt
nested_pattern_match.txt
one_element_tag.txt
optional_when.txt
peano.txt
peano1.txt
peano2.txt
quicksort_help.txt
quicksort_swap.txt
record_optional_field_function_no_use_default.txt
record_optional_field_function_use_default.txt
record_optional_field_let_no_use_default.txt
record_optional_field_let_use_default.txt
rigids.txt
simple_if.txt
somehow_drops_definitions.txt
specialize_closures.txt
specialize_lowlevel.txt
when_joinpoint.txt
when_nested_maybe.txt
when_on_record.txt
when_on_result.txt
when_on_two_values.txt