Previously Twig syntax errors inside a component partial would show the incorrect file and line number. This is fixed.
Also simplified the approach so the stack trace is not hidden inside a closure.
Being in a namespace of it's own, the type hint for $closure should be \closure (otherwise it assumes that it belongs in the ```System\Classes``` namespace)