If I have a `@Serializable` class in a library: ``...
# serialization
f
If I have a
@Serializable
class in a library:
Copy code
@Serializable class LibClass(val num :Int)
Is it intended that I can't use it as serializable in a project that consumes the library?
Copy code
// Error! Serializer has not been found for LibClass
@Serializable class MyClass(val nested : LibClass)
d
No, you should be able to consume it from another project.
Which backend is this for? JVM or Native?
f
jvm
might be some bug with caches though, I'm invalidating caches
There's definitely some bug, the analyzer is hanging in the file I have
MyClass
s
could you please create an issue on tracker for that?
f
I can't reproduce it in a normal setting. Sorry.
It's most certainly some external tools that are causing it.