Prohibit body for annotation class

#KT-1886 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-09-13 16:26:07 +04:00
parent 954003872d
commit 60bdae9d75
15 changed files with 53 additions and 24 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ package js
* This annotation marks code as being a native JavaScript expression
*/
native
annotation class native(name : String = "") {}
annotation class native(name : String = "")
/**
* Represents a function in the standard library
*/
native
annotation class library(name : String = "") {}
annotation class library(name : String = "")