More precise diagnostics of smart cast impossible #KT-7240 Fixed
Original commit: 41ebfd025e
This commit is contained in:
@@ -12,4 +12,4 @@ Compiling files:
|
|||||||
src/usage.kt
|
src/usage.kt
|
||||||
End of files
|
End of files
|
||||||
COMPILATION FAILED
|
COMPILATION FAILED
|
||||||
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Int?
|
Smart cast to 'kotlin.Int' is impossible, because 'a.x' is a member value that has open or custom getter
|
||||||
@@ -6,7 +6,7 @@ Compiling files:
|
|||||||
src/usage.kt
|
src/usage.kt
|
||||||
End of files
|
End of files
|
||||||
COMPILATION FAILED
|
COMPILATION FAILED
|
||||||
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Int?
|
Smart cast to 'kotlin.Int' is impossible, because 'a.x' is a member value that has open or custom getter
|
||||||
|
|
||||||
|
|
||||||
Cleaning output files:
|
Cleaning output files:
|
||||||
|
|||||||
Reference in New Issue
Block a user