Do not serialize constructors for anonymous objects

The only client of this data is reflection, and since anonymous objects
do not have constructors in the source code, they shouldn't in
reflection as well

 #KT-20442 Fixed
This commit is contained in:
Alexander Udalov
2018-01-05 16:21:23 +01:00
parent 17fc41e0f9
commit 50c515deca
7 changed files with 8 additions and 6 deletions
@@ -18,7 +18,7 @@ class BuiltInsBinaryVersion(vararg numbers: Int) : BinaryVersion(*numbers) {
companion object {
@JvmField
val INSTANCE = BuiltInsBinaryVersion(1, 0, 3)
val INSTANCE = BuiltInsBinaryVersion(1, 0, 4)
@JvmField
val INVALID_VERSION = BuiltInsBinaryVersion()