Aliases can make compilation fail with "missing core
dependencies`" & Could not generate entry method
#6569
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
Related Component
compiler
Problem
Using an enum alias as a return type confuses the compiler and makes it fail on build.
Here, just renaming
SRC5State
back toState
will make the build pass.Steps
See reproduction: https://github.com/DefiCake/forc-alias-compilation-error
Possible Solution(s)
No response
Notes
No response
Installed components
The text was updated successfully, but these errors were encountered: