Denis Zharkov
00a78fce0c
Get rid of special logic when check receiver
...
Instead of manually checking nullability when reporing UNSAFE_CALL_ERROR
just check if receiver type is subtype of receiver parameter
Make it in two steps
1. Check subtype with respect to smart casts but ignoring nullability (if it's not satisfied -> ERROR)
2. Check subtype with respect to nullability and smartcasts (record latter if needed)
2015-08-28 18:50:25 +03:00
..
2015-08-26 12:16:06 +03:00
2015-05-07 22:36:16 +03:00
2015-07-06 16:19:54 +03:00
2015-08-28 18:50:25 +03:00
2014-12-10 22:48:00 +03:00
2015-05-13 16:13:13 +02:00
2015-05-19 23:45:59 +03:00
2012-10-16 20:14:52 +04:00
2015-08-10 16:24:16 +03:00
2015-08-03 19:41:45 +03:00
2015-05-13 16:13:13 +02:00
2015-04-16 20:10:58 +03:00
2012-11-12 19:54:22 +04:00
2012-11-12 19:54:22 +04:00
2012-11-12 19:54:22 +04:00
2015-04-29 14:03:11 +03:00
2015-05-13 16:13:13 +02:00
2015-04-29 16:33:38 +02:00
2015-05-15 16:13:34 +03:00
2015-08-03 19:41:50 +03:00
2015-04-29 16:33:24 +02:00
2015-01-27 22:38:27 +03:00
2015-05-13 16:13:13 +02:00
2015-02-10 06:55:46 +01:00
2015-04-29 16:33:24 +02:00
2015-04-29 14:03:11 +03:00
2015-05-13 16:13:13 +02:00
2015-05-19 23:45:59 +03:00
2012-11-12 19:54:22 +04:00
2014-09-01 12:32:52 +04:00
2015-05-13 16:13:13 +02:00
2012-11-20 19:53:03 +04:00
2012-11-12 19:54:22 +04:00
2014-07-25 17:16:40 +04:00
2015-03-11 17:45:26 +03:00
2015-05-13 16:13:13 +02:00
2015-05-13 16:13:13 +02:00
2014-01-14 18:06:50 +04:00
2014-01-14 18:06:50 +04:00
2015-08-21 16:59:05 +02:00
2012-11-12 19:54:22 +04:00
2015-05-13 16:13:13 +02:00
2015-03-11 17:45:26 +03:00
2014-11-27 20:38:17 +03:00
2014-07-28 13:07:37 +04:00
2015-05-27 00:58:35 +03:00
2015-05-15 16:13:34 +03:00
2012-11-12 19:54:22 +04:00
2015-04-29 16:33:24 +02:00
2015-05-27 08:24:42 +03:00
2015-05-18 19:26:29 +03:00
2014-12-11 16:04:03 +03:00
2012-11-12 19:54:22 +04:00
2015-06-17 16:23:58 +03:00
2015-06-17 16:23:58 +03:00
2013-02-11 22:19:43 +04:00
2014-06-21 12:26:34 +04:00
2015-01-27 22:38:27 +03:00
2015-05-19 23:45:59 +03:00
2015-03-05 18:42:16 +03:00
2014-07-28 13:07:37 +04:00
2015-05-15 16:13:34 +03:00