fcf7a55ccc
There is no need to update type of delegate expression if it's already resolved correctly (doesn't include non-proper types). In almost all cases it was fine except number literals as there we didn't box expression in backend and got problems at bytecode verification stage #KT-40057 Fixed