Fix the result values for IR. #647
Labels
compiler
General compiler. Should eventually become more specific as the issue is triaged
enhancement
New feature or request
team:compiler
Compiler Team
In
sway-core/src/optimize.rs
most of the AST -> IR tranlation code is using aResult<T, String>
. Since this is a part of the compiler core it should useCompileResult
.In the
sway-ir
crate it also usesResult<T, String>
though in this case theResult
is probably OK, but should use a proper error type, rather thanString
.The text was updated successfully, but these errors were encountered: