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
..
2019-11-19 16:30:04 +03:00
2019-11-19 11:00:09 +03:00
2019-11-25 09:37:47 +03:00
2019-11-21 15:53:52 +03:00
2019-12-11 16:54:15 +03:00
2019-12-09 17:24:26 +03:00
2019-11-25 09:37:47 +03:00
2019-11-25 09:37:47 +03:00
2019-12-13 20:44:09 +03:00
2019-12-15 17:36:24 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-12-12 15:38:18 +03:00
2019-11-19 11:00:09 +03:00
2019-12-06 11:03:07 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-25 09:37:47 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-28 21:19:27 +03:00
2019-11-25 19:00:31 +01:00
2019-11-19 11:00:09 +03:00
2019-12-15 15:21:23 +03:00
2019-11-19 11:00:09 +03:00
2019-12-12 15:02:32 +03:00
2019-11-19 11:00:09 +03:00
2019-12-09 17:24:26 +03:00
2019-11-25 09:37:47 +03:00
2019-12-03 11:54:41 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-12-12 13:33:39 +01:00
2019-12-11 16:54:15 +03:00
2019-11-28 18:17:01 +01:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:10 +03:00
2019-11-25 09:37:47 +03:00
2019-12-03 11:34:55 +01:00
2019-12-09 17:24:26 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-12-06 11:03:07 +03:00
2019-11-19 11:00:09 +03:00
2019-12-03 18:39:43 +01:00
2019-11-21 15:14:44 +01:00
2019-12-03 10:53:49 +03:00
2019-12-05 13:08:51 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:10 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-12-06 11:03:07 +03:00
2019-11-19 11:00:09 +03:00
2019-12-10 17:31:12 +03:00
2019-11-21 13:46:17 +01:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:10 +03:00
2019-12-11 08:19:55 +01:00
2019-12-11 15:32:46 +03:00
2019-12-03 08:31:46 +01:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 23:02:35 +03:00
2019-12-09 17:24:26 +03:00
2019-11-19 11:00:09 +03:00
2019-12-12 14:55:47 +03:00
2019-11-29 16:49:52 +01:00
2019-11-25 09:37:47 +03:00
2019-11-25 09:37:47 +03:00
2019-11-25 09:37:47 +03:00
2019-12-12 23:46:16 +03:00
2019-11-19 11:00:09 +03:00
2019-11-29 13:40:18 +01:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-25 09:37:47 +03:00
2019-12-11 16:54:15 +03:00
2019-11-21 15:53:52 +03:00
2019-11-19 11:00:09 +03:00
2019-12-09 17:24:26 +03:00
2019-12-11 15:09:37 +01:00
2019-12-09 17:24:26 +03:00
2019-11-19 11:00:09 +03:00
2019-11-28 08:31:15 +01:00
2019-11-19 11:00:09 +03:00
2019-11-01 19:40:20 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-25 09:37:47 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2019-11-25 20:22:03 +03:00
2019-11-25 12:22:58 +03:00
2019-11-20 13:40:46 +01:00
2019-12-09 17:24:26 +03:00