JS: change visibility to internal for library and marker annotations
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2014 JetBrains s.r.o.
|
* Copyright 2010-2016 JetBrains s.r.o.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -36,17 +36,15 @@ public annotation class nativeInvoke
|
|||||||
|
|
||||||
@native
|
@native
|
||||||
@Target(CLASS, FUNCTION, PROPERTY)
|
@Target(CLASS, FUNCTION, PROPERTY)
|
||||||
public annotation class library(public val name: String = "")
|
internal annotation class library(public val name: String = "")
|
||||||
|
|
||||||
@native
|
@native
|
||||||
@Target(PROPERTY)
|
@Target(PROPERTY)
|
||||||
public annotation class enumerable()
|
public annotation class enumerable()
|
||||||
|
|
||||||
// TODO make it "internal" or "fake"
|
|
||||||
@native
|
@native
|
||||||
@Target(CLASS)
|
@Target(CLASS)
|
||||||
@Deprecated("Do not use this annotation: it is for internal use only")
|
internal annotation class marker
|
||||||
public annotation class marker
|
|
||||||
|
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Target(CLASS, FUNCTION, PROPERTY, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER)
|
@Target(CLASS, FUNCTION, PROPERTY, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER)
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||||
package foo
|
package foo
|
||||||
|
|
||||||
@library class A() {
|
@library class A() {
|
||||||
|
|||||||
Reference in New Issue
Block a user