Fix codegen of effect symbols

This commit is contained in:
Ayaz Hafiz 2022-04-24 15:08:26 -04:00
parent cc507f3abd
commit caf65ba2f8
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 20 additions and 10 deletions

View file

@ -119,11 +119,8 @@ impl GeneratedInfo {
{
let a_var = var_store.fresh();
let actual = crate::effect_module::build_effect_actual(
effect_symbol,
Type::Variable(a_var),
var_store,
);
let actual =
crate::effect_module::build_effect_actual(Type::Variable(a_var), var_store);
scope.add_alias(
effect_symbol,