Fix error reporting for mixins and layouts with runtime errors
Merge branch 'error-reporting'