Improve error message when passing in the storage
keyword as a type
into a function
#1946
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
duplicate
This issue or pull request already exists
P: critical
Should be looked at before anything else
Reproduce
Error should state something similar to
"storage" cannot be used as a type
/Cannot pass in "storage" as a type into a function
.Screenshot
cc @FuelLabs/sway-compiler
The text was updated successfully, but these errors were encountered: