I just learned of SKIE today and I'm trying to add...
# touchlab-tools
t
I just learned of SKIE today and I'm trying to add it to an existing project. I'm encountering an error with the SKIE generated code. Is this a known issue? I don't see any mention of it in the documentation, but I might be missing something.
k
The main engineers will probably know what that is immediately. However, I'd say applying to an existing project should be done incrementally as SKIE does change types. You can explicitly disable SKIE if certain outputs are giving a problem. This looks like a name collision error rather than just your types have changed, though, and may be a bug.
👍 1
f
Hi! The crash happens in the code generated by SKIE (not user code), so it’s definitely a bug on our end. Technically, it’s a known bug in the sense that I ran into the same kind of issue just last week. Since then, I’ve already fixed it, but the fix will be available only once we release the next major version, which might take a while. In the meantime, you can workaround the issue by disabling sealed interop for the problematic class. Put this in your Gradle file where you apply the SKIE plugin:
Copy code
skie {
   features {
     group("kotbase.Index") {
       SealedInterop.Enabled(false)
     }
   }
}
t
Awesome! Thank you.