Created
March 31, 2020 15:42
-
-
Save ShikaSD/d2a6d8fca1320ceb6b42f5c34685bbdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (codegen.descriptor.needsSerializableFix()) { | |
| val selfType = codegen.typeMapper.mapType(codegen.descriptor) | |
| codegen.addReadResolveFunction { | |
| getstatic(codegen.className, "INSTANCE", selfType.descriptor) | |
| areturn(selfType) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment