Hi guys
We noticed library declarations were updated on forc v0.37.0 and I have a question
src
folder contains 3 files: a contract main.sw
and 2 libraries: structs.sw
and i64.sw
.
We need to use i64.sw
inside main.sw
and inside structs.sw
main.sw
contract;
mod structs;
mod i64;
use i64::I64;
use structs::*;
...
i64.sw
library;
...
structs.sw
library;
mod i64;
use i64::I64;
But when I’m trying to compile I have an error
Please help manage the libraries