I have tried to import pf.File and pf.Path in an interface but it had no effect, I had to import in an app module and use them in an interface. So platform imports are ignored in interfaces - is this documented?
There definitely is an issue filed. Not sure the number. @Agus Zubiaga would know. He is working on an import rewrite that should also fix this.
Yeah, this is a known bug. Here’s the issue: https://github.com/roc-lang/roc/issues/5477
Last updated: Jul 06 2025 at 12:14 UTC