Files
kotlin/compiler/testData/codegen/box/casts
Anton Bannykh d6fcde7316 JS_IR: fix typecheck corner case
Consider `fun <E : I> foo(a: Any?) = a as? E`, where I is an interface.
This check used to fail, because the `a == null` was missing, and
the `isInterface` stdlib method crashes if the first argument
is null. This change adds the null check.

Also this change prettifies the instance check in case of type parameter
left operand.
2019-12-15 17:36:24 +03:00
..
2018-06-14 19:54:30 +03:00
2018-10-09 15:33:04 +03:00
2018-06-14 19:54:30 +03:00