Expand Effect System with receiver values (#KT-28672)

Add some classes to hierarchy of `ESValue`:
- `ESReceiver` -- representation of receiver
  of lambda function
- `ESDataFlow` and `ESDataFlowReceiver` -- little refactoring of entities
  that holds information for DFA (description in comments in code).

Also add kdoc to classes of `ESValue` hierarchy
This commit is contained in:
Dmitriy Novozhilov
2019-01-31 17:23:53 +03:00
parent 932e0234e7
commit dfb379d999
9 changed files with 116 additions and 20 deletions
@@ -20,7 +20,7 @@ fun smartcastOnReceiver(s: String?) {
<!UNSAFE_CALL!>length<!>
}
else {
<!UNSAFE_CALL!>length<!>
<!DEBUG_INFO_IMPLICIT_RECEIVER_SMARTCAST!>length<!>
}
}
}