-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization works in JVM, but doesn't work in JS (LEGACY) #1448
Labels
Comments
Found out that IR compiler doesn't have this bug |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I try to serialize sealed generic classes and it works well in JVM, but JS test fails
To Reproduce
My classes:
Test:
When I run js test I get exception:
If I use 1.1.0 version of library I get another exception:
Simple project to show the issue. Just clone it and run
gradlew check
https://github.com/StarGuardian/kotlin-js-serialization-bug
Expected behavior
Both tests (for JVM and JS) passes
Environment
The text was updated successfully, but these errors were encountered: