loader: report all type and syntax errors possible

Previously the loader would only report the first error. With this
change, all syntax and type errors will be reported.
This commit is contained in:
Ayke van Laethem
2024-07-12 15:07:24 +02:00
parent a6602dc708
commit 587ad68bd9
6 changed files with 68 additions and 5 deletions
+1
View File
@@ -17,6 +17,7 @@ import (
func TestErrors(t *testing.T) {
for _, name := range []string{
"cgo",
"multi",
"loader-importcycle",
"loader-invaliddep",
"loader-invalidpackage",