Stream: beginners

Topic: Platform imports in interfaces


view this post on Zulip Karakatiza (Dec 17 2023 at 17:51):

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?

view this post on Zulip Brendan Hansknecht (Dec 17 2023 at 18:02):

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.

view this post on Zulip Agus Zubiaga (Dec 17 2023 at 19:00):

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