swift
95a488e7 - [Refactoring] Don't drop returns with expressions

Commit
4 years ago
[Refactoring] Don't drop returns with expressions Previously we were unconditionally dropping a return statement if it was the last node, which could cause us to inadvertently drop the result expression as well. Instead, only drop bare 'return' statements. rdar://77789360
Author
Committer
Parents
Loading