Function editor reports wrong position for syntax errors
Aperta
bug
core
- Lingua principale
- JavaScript
- Stelle
- 198
- Fork
- 38
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When saving a function fails due to a syntax error, the line number of the error as reported in the butter bar is wrong. It appears to be offset by 5 lines, presumably due to the magic header lines:
```JS
// @copy_properties true
// @set_prop verb = "whatever"
// @set_prop dobj = "any"
// @set_prop prep = "none"
// @set_prop iobj = "none"
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.