adhocteam / pushup

Pushup is for making modern, page-oriented web apps in Go
https://pushup.adhoc.dev
MIT License
840 stars 30 forks source link

parse errors should give line numbers #68

Closed llimllib closed 1 year ago

llimllib commented 1 year ago
  1. Define a partial with a dash in the name
  2. Note that the error doesn't tell you where the error occurs:

run command: build command: parsing and compiling: compiling page file app/pages/index.up: parsing source: expected '{', got '-'

In a more complicated page, it could be very hard to figure out where the error was coming from