Fix annotations loading for inline class constructors

This commit is contained in:
Dmitry Petrov
2018-09-14 12:56:01 +03:00
parent 7c99348051
commit b930e6e8e8
11 changed files with 69 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
// !LANGUAGE: +InlineClasses
@file:Suppress("NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS")
package test
inline class Z @PublishedApi internal constructor(val value: Int)

View File

@@ -0,0 +1,7 @@
package test
public final inline class Z {
/*primary*/ @kotlin.PublishedApi internal constructor Z(/*0*/ value: kotlin.Int)
public final val value: kotlin.Int
public final fun <get-value>(): kotlin.Int
}