GROOVY-6897: Fix regression in public API
Documentation for flow typing
Fix documentation unit tests for flow typing
Documentation for closure shared variables and advanced type inference