Dmitry Savvinov
70a1beeff6
[NI] Use ErrorType in ParseErrorKotlinCallArgument
...
Previously, there was receiver of type Nothing, which could case result
of the call to be inferred to Nothing too. This could case bogus
UNREACHABLE_CODE diagnostics in cases like this:
```
fun <T> id(x: T) = x
fun test() {
id(unresolvedReference) // type of statement is 'Nothing'
// ... everything here is marked as unreachable ...
}
```
This commit changes type of receiver for such calls form Nothing to
ErrorType.
2017-12-07 12:49:56 +03:00
..
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-12-07 12:49:56 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-12-07 12:49:56 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-04-04 14:23:30 +03:00
2017-11-29 02:54:26 +03:00
2017-10-11 19:23:52 +03:00
2017-11-29 02:54:26 +03:00
2017-10-16 20:10:57 +03:00
2017-11-29 02:54:26 +03:00
2017-10-11 19:23:52 +03:00
2017-10-11 19:23:52 +03:00
2017-10-11 19:23:52 +03:00
2017-10-16 18:28:57 +03:00
2017-10-16 18:28:57 +03:00
2017-11-29 02:54:26 +03:00
2017-10-11 19:23:52 +03:00
2017-11-29 02:54:26 +03:00
2017-10-11 19:23:52 +03:00
2017-11-29 02:54:30 +03:00
2017-11-29 02:54:30 +03:00
2017-08-07 18:01:16 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-11-29 02:54:26 +03:00
2017-08-29 18:01:36 +03:00
2017-11-29 02:54:26 +03:00
2017-01-10 11:44:51 +03:00
2017-11-29 02:54:26 +03:00
2017-01-10 11:44:51 +03:00
2017-11-29 02:54:26 +03:00
2017-01-10 11:44:51 +03:00
2017-11-29 02:54:26 +03:00
2017-01-10 11:44:51 +03:00
2017-09-05 14:41:34 +03:00
2017-09-05 14:41:34 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-09-05 14:41:42 +03:00
2017-09-05 14:41:42 +03:00
2017-09-05 14:41:34 +03:00
2017-09-05 14:41:34 +03:00
2017-11-29 02:54:26 +03:00
2017-08-07 18:01:16 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00