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

[Bug][move-compiler-v2] V2 compiler is too conservative about cyclic type instantiation, spurious errors #14623

Open
brmataptos opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working compiler-v2

Comments

@brmataptos
Copy link
Contributor

🐛 Bug

V2 has some errors about cyclic type instantiations which V1 does not flag. V1 seems to be right.

Compare test outputs

  • third_party/move/move-compiler/tests/move_check/translated_ir_tests/move/generics/instantiation_loops/mutually_recursive_three_args_type_con_non_generic_types_ok.exp
  • third_party/move/move-compiler-v2/tests/cyclic-instantiation-checker/v1-tests/mutually_recursive_three_args_type_con_non_generic_types_ok.exp
@brmataptos brmataptos added bug Something isn't working compiler-v2 labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler-v2
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant