🌴 Empowering everyone to build reliable and efficient smart contracts.
62.76k
stars
5.36k
forks
source link
Aliases can make compilation fail with "missing `core` dependencies`" & Could not generate entry method #6569
Open
DefiCake opened 1 week ago
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