Introduce binary representation for annotations

Will be used where annotations can't be stored elsewhere: for example,
built-ins, JS, type annotations on JDK<8
This commit is contained in:
Alexander Udalov
2014-11-28 23:24:54 +03:00
parent 9a86318908
commit 63bfa004fd
30 changed files with 6958 additions and 164 deletions
@@ -0,0 +1,12 @@
package test
annotation class JustString(val string: String)
annotation class StringArray(val stringArray: Array<String>)
JustString("kotlin")
StringArray(array())
class C1
StringArray(array("java", ""))
class C2