This error was caused because the local directives can be PPDirective or Error[] type, and this was not properly accounted for in the later Include function calls. It's likely this was an oversight as the code suggests the function would return early if it errored. This adds a return to that section to follow that logic.
E2Lib.Validate now returns early when preprocessor fails.
This error was caused because the local
directives
can bePPDirective
orError[]
type, and this was not properly accounted for in the laterInclude
function calls. It's likely this was an oversight as the code suggests the function would return early if it errored. This adds a return to that section to follow that logic.E2Lib.Validate
now returns early when preprocessor fails.Fixes #3043