Files
kotlin-fork/compiler/testData/diagnostics/tests
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-01-19 09:53:17 +03:00
2017-05-15 11:24:35 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2015-10-14 01:29:10 +03:00
2015-10-14 01:29:10 +03:00
2015-09-25 19:20:20 +03:00
2015-10-14 01:29:10 +03:00
2015-10-07 21:56:07 +03:00
2017-05-15 11:24:35 +03:00
2017-05-15 11:24:35 +03:00
2015-10-14 20:51:01 +03:00
2017-11-29 02:54:26 +03:00
2017-01-16 17:25:13 +03:00
2016-05-16 15:38:13 +03:00