[rev=Peter] IDEA-106598 Groovy: good code is red. Missing return statement inspection in with closure that ends with an assert
(cherry picked from commit 6a77a1a)