@import isn’t lazy. It always imports, regardless of where it’s declared, because it has to be evaluated at comptime.
Sidenote: the path argument has to be resolved even earlier, at “parsetime”, see this topic.
@import isn’t lazy. It always imports, regardless of where it’s declared, because it has to be evaluated at comptime.
Sidenote: the path argument has to be resolved even earlier, at “parsetime”, see this topic.