Make annotations-modifiers private and fix some lost usages

It's needed to prevent usages of them as real annotation/type.
But we can't remove them, because currently some modifiers
are artificially resolved as annotations of those classes.
This commit is contained in:
Denis Zharkov
2015-09-22 12:41:34 +03:00
parent 4a993f517e
commit dcb84a7d0a
6 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
>>> @[data] class Person(val name: String)
>>> data class Person(val name: String)
>>> var x: String? = "hello"
>>> val y = x?.let { Person(it) }
>>> y