Load JSR-305 annotations for libraries if it's enabled for any module

#KT-19303 Fixed
This commit is contained in:
Dmitry Jemerov
2017-08-01 19:38:04 +02:00
parent 4ca8d3d6cf
commit b423d58a14
12 changed files with 153 additions and 23 deletions
+5
View File
@@ -0,0 +1,5 @@
import foo.A
fun main(a: A) {
a.field<error descr="[UNSAFE_CALL] Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?">.</error>length
}