@spicyj I'll improve the error message for inline code, thank you.
Just to be clear, I already understood what you just said, the current patch doesn't show an incorrect line number. For inline code `source` will be undefined and the message will only say that the error is in the current document.
Right now it shows:
```
Uncaught Error: Parse Error: Line 2: XJS attributes must only be assigned a non-empty expression
  at test.html
```
I'll improve it, thank you for pushing the improvement.