build: add package ID to compiler and optimization error messages

This improves error reporting slightly.
This commit is contained in:
Ayke van Laethem
2024-07-21 14:12:55 +02:00
committed by Ron Evans
parent 3e2230eadb
commit 04d1261f8a
5 changed files with 21 additions and 18 deletions
+1
View File
@@ -14,5 +14,6 @@ func main() {
})
}
// ERROR: # command-line-arguments
// ERROR: optimizer.go:9:15: interrupt ID is not a constant
// ERROR: optimizer.go:13:15: interrupt ID is not a constant