Fix behaviour of NI in testData

After one of previous commits (my or Mikhail Zarechenskiy) that test
  was broken and it's behaviour was not fixed. That test's behaviour
  is strange (why at one case we have `UNREACHABLE_CODE` and haven't
  at other) and needs further investigation
This commit is contained in:
Dmitriy Novozhilov
2019-02-01 13:21:13 +03:00
parent b9c5b63d69
commit 93de13d931
@@ -3,7 +3,7 @@ fun <T> test(t: T): T {
if (t != null) {
return t<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>
}
<!NI;UNREACHABLE_CODE!>return<!> <!ALWAYS_NULL!>t<!>!!
return <!ALWAYS_NULL!>t<!>!!
}
fun <T> T.testThis(): String {