Join Slack
Powered by
<Null-safe assertion on a Array fails in Kotlin/JS...
# forum
u
user
07/11/2022, 6:29 AM
Null-safe assertion on a Array fails in Kotlin/JS
The is the test case -
iso4k-mp/SpecTestsJs.kt at main · rkbalgi/iso4k-mp · GitHub
Note the use of null-assertion (children!!) which is not required. However, changing this to children? causes the test to fail TypeError: Cannot read properties of undefined (reading ‘length’) If you look at line which causes the error var $receiver_0 =...
3
Views
Open in Slack
Previous
Next