Update test data: add correct error
This commit is contained in:
+2
@@ -1,3 +1,5 @@
|
||||
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Boolean?
|
||||
|
||||
fun test(a: Any) {
|
||||
val b = a as Boolean?;<caret>
|
||||
!b
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Boolean?
|
||||
|
||||
fun test(a: Any) {
|
||||
val b = a as Boolean?
|
||||
!b
|
||||
|
||||
Reference in New Issue
Block a user