GROOVY-5812 fix type conversion bug for direct method calls
GROOVY-5632: Closure default params can cause BUG! exception in phase 'class generation'