You’re supposed to put @inline annotations in both .res and .resi files, if you use an interface file and don’t add the annotation there too, the compiler simply can’t know the implementation required @inline.
Beware though, @inline doesn’t work with functions for example.