EA-36814. Do not repeat annotations resolve

for primary constructor parameters as properties
(annotations are already resolved for parameters themselves)
This commit is contained in:
Svetlana Isakova
2012-06-22 17:23:55 +04:00
parent 32e0b06de1
commit 53b59ce152
4 changed files with 51 additions and 25 deletions
@@ -0,0 +1,15 @@
package a
import java.lang.Deprecated as deprecated
import java.lang.SuppressWarnings as suppresswarnings
deprecated suppresswarnings val s: String = "";
deprecated suppresswarnings fun main(args : Array<String>) {
System.out.println("Hello, world!")
}
class Test(deprecated val s: String,
suppresswarnings val x : Int) {}