ConsoleExtension doesn't support `Nette\DI\Statement`
silen-z opened this issue · comments
When using global functions in NEON config like: not(%debugMode%)
they get created by DI as Nette\DI\Statement
but here ConsoleExtension is casting them to bool which silently fails and evaulates to true
regardless of the statement value
Version: 0.5.0
Good catch. Can you prepare PR? Some test would be excellent.