mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Go: Update frontend error messages for Go 1.23
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| -:0:0:0:0 | package ; expected package main |
|
||||
| broken2/test1.go:4:2:4:2 | undefined: fmt |
|
||||
| broken2/test1.go:5:2:5:2 | undefined: fmt |
|
||||
| broken2/test1.go:5:14:5:14 | undefined: a |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| -:0:0:0:0 | package ; expected nonexistent |
|
||||
| -:0:0:0:0 | package ; expected package nonexistent |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected ';', found 'EOF' |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected 'IDENT', found 'EOF' |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected 'package', found 'EOF' |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
| -:0:0:0:0 | malformed import path "github.com/github/codeql-go/ql/test/query-tests/Diagnostics/invalid{": invalid char '{' |
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| -:0:0:0:0 | package ; expected package main |
|
||||
| bad.go:3:1:3:1 | expected 'package', found avvu |
|
||||
| bad.go:3:1:3:1 | expected 'package', found avvu |
|
||||
| bad.go:3:5:3:5 | expected 'IDENT', found newline |
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
| Extraction failed with error expected 'IDENT', found newline | 2 |
|
||||
| Extraction failed with error expected 'package', found avvu | 2 |
|
||||
| Extraction failed with error malformed import path "github.com/github/codeql-go/ql/test/query-tests/Diagnostics/invalid{": invalid char '{' | 2 |
|
||||
| Extraction failed with error package ; expected main | 2 |
|
||||
| Extraction failed with error package ; expected package main | 2 |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| -:0:0:0:0 | package ; expected package main |
|
||||
| empty-file.go:1:1:1:1 | expected ';', found 'EOF' |
|
||||
| empty-file.go:1:1:1:1 | expected 'IDENT', found 'EOF' |
|
||||
| empty-file.go:1:1:1:1 | expected 'package', found 'EOF' |
|
||||
|
||||
Reference in New Issue
Block a user