roc/compiler/test_gen/src
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
..
helpers fix wasm/dev tests 2022-03-12 00:13:49 +01:00
gen_compare.rs Remove accidental trailing spaces 2022-01-18 22:25:46 -07:00
gen_dict.rs Merge test_dev, test_wasm, and test_wasm_util into test_gen 2021-11-08 19:31:20 -08:00
gen_list.rs add test 2022-03-09 23:07:24 +01:00
gen_num.rs Generate unsigned div and modulo correctly 2022-03-13 18:44:38 -05:00
gen_primitives.rs Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-09 00:00:15 +01:00
gen_records.rs test_gen: add missing #[test] attribute 2022-03-08 08:57:52 +00:00
gen_refcount.rs wasm: use a debug-friendly enum for refcount tests 2022-03-08 07:43:01 +00:00
gen_result.rs reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
gen_set.rs make types more explicit 2022-02-25 13:02:11 +01:00
gen_str.rs reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
gen_tags.rs Link aliased lambdas to the partial procs of the original symbol 2022-03-14 16:42:53 -05:00
tests.rs Merge remote-tracking branch 'origin/trunk' into expect-dont-panic 2022-01-30 20:22:26 -05:00
wasm_str.rs reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00