Support suppression on expressions

This commit is contained in:
Andrey Breslav
2013-09-22 22:05:45 +04:00
parent 716718fb0d
commit c7c151a726
6 changed files with 71 additions and 38 deletions
@@ -0,0 +1,4 @@
fun foo(): Any? {
[suppress("REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION")]
return ""!! <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as<!> String??
}