GROOVY-7138: Fix super call from inside a closure when @CompileStatic is used