roc/compiler/test_mono
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
..
generated Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
src Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
Cargo.toml move target -> roc_target 2022-01-26 23:33:29 +01:00