dpinol / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

multiple formats of error message #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile any template file with errors
2. You'll get error message
3. There are some format of error messages. 

I found:
  a)  In file <file_name>: <error_mgs> [line <line_number>, column <col_number>] .
  b)  In file <file_name>: <error_mgs>. //like case a)  but without []
  c)  In file <file_name>: <error_mgs> line <line_number>, column <col_number>.
  d)  In file <file_name>: <line_number>,  <error_mgs>
  e)  In file <file_name>: <line_number>:  <error_mgs> // like d) but colon (:) instead comma (,)

What is the expected output? What do you see instead?
 - One format for error messages. Ideally case a)

What version of the product are you using? On what operating system?
 - I use version Dec 22

Original issue reported on code.google.com by bagulin....@gmail.com on 3 Apr 2012 at 6:09

GoogleCodeExporter commented 8 years ago
Would be great to see this fixed - it makes parsing error messages in 
IDE's/calling scripts very messy!

Original comment by ben.vanik on 8 May 2012 at 12:39

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub: 
https://github.com/google/closure-templates. Please reopen this there if it's 
still an issue.

(FYI, I've been working on improving error messages in Soy. See 
https://github.com/google/closure-templates/commit/8a7de05250f662651b7b9c432fa33
8439839c2ec for example.)

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:06