visionmedia/jade — Issue #427: 500 ReferenceError: var is not defined (wrong debug output)
Author: gabipetrovay
Created: 2011-12-04 23:10:52+00:00
State: open

I have a layout that references a variable `var` and a page extending the layout.

This variable is missing from the render call and therefore I get the "var is not defined".

The problem is that jade shows me in the error page the contents of the inheriting page instead of the layout page where the variable is referenced. (both in the error message and above the stack trace)