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) {
|
fun test(a: Any) {
|
||||||
val b = a as Boolean?;<caret>
|
val b = a as Boolean?;<caret>
|
||||||
!b
|
!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) {
|
fun test(a: Any) {
|
||||||
val b = a as Boolean?
|
val b = a as Boolean?
|
||||||
!b
|
!b
|
||||||
|
|||||||
Reference in New Issue
Block a user