Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbound effect variables in type aliases when effect sugar is enabled #1137

Open
dhil opened this issue May 2, 2022 · 0 comments
Open

Unbound effect variables in type aliases when effect sugar is enabled #1137

dhil opened this issue May 2, 2022 · 0 comments
Assignees
Labels

Comments

@dhil
Copy link
Member

dhil commented May 2, 2022

Enabling

  • effect_sugar=true
  • effect_sugar_policy="presence_omit,alias_omit,contract_operation_arrows,arrows_curried_hide_fresh"

causes the following code produces an internal error.

links> typename Id(a, e::Eff) = (a) { |e}-> a;
Id = a,b::Eff.(a) -b-> a
links> sig id : Id(a, { |e}) fun id(x) { x };
***: Error: Links_core.Notfound.NotFound("7660 (in Map.find)") 
@dhil dhil self-assigned this May 2, 2022
@dhil dhil added the bug label May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant