Closed rodion-k closed 5 years ago
In fact we works with debug points, and this is in both case the last point successfully reached before the error was raised. It seems we need to add a debug point just before mixin call to get the accurate position.
Fixed in https://github.com/phug-php/compiler/releases/tag/0.5.25
Thanks.
Hello,
I encountered an issue with the following code: main.pug
test.pug
I expected to get error in main file on line 2. But I actually get:
If mixin is called in tag, error message is almost correct:
Thanks!