File tree Expand file tree Collapse file tree 7 files changed +15
-16
lines changed
library-tests/semmle/go/PrintAst Expand file tree Collapse file tree 7 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 1
1
go.mod:
2
- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2
+ # 0| [GoModFile] go.mod
3
3
# 1| 0: [GoModModuleLine] go.mod module line
4
4
# 3| 1: [GoModGoLine] go.mod go line
5
5
input.go:
6
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6
+ # 0| [GoFile] input.go
7
7
# 1| package: [Ident] main
8
8
# 5| 1: [CommentGroup] comment group
9
9
# 5| 0: [SlashSlashComment] comment
@@ -597,7 +597,7 @@ input.go:
597
597
# 145| Type = []int
598
598
# 145| 1: [BlockStmt] block statement
599
599
other.go:
600
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
600
+ # 0| [GoFile] other.go
601
601
# 1| package: [Ident] main
602
602
# 3| 1: [FuncDecl] function declaration
603
603
# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 1
1
go.mod:
2
- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2
+ # 0| [GoModFile] go.mod
3
3
# 1| 0: [GoModModuleLine] go.mod module line
4
4
# 3| 1: [GoModGoLine] go.mod go line
5
5
input.go:
6
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6
+ # 0| [GoFile] input.go
7
7
# 1| package: [Ident] main
8
8
# 3| 1: [ImportDecl] import declaration
9
9
# 3| 0: [ImportSpec] import specifier
@@ -577,7 +577,7 @@ input.go:
577
577
# 145| Type = []int
578
578
# 145| 1: [BlockStmt] block statement
579
579
other.go:
580
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
580
+ # 0| [GoFile] other.go
581
581
# 1| package: [Ident] main
582
582
# 3| 1: [FuncDecl] function declaration
583
583
# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 1
1
go.mod:
2
- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2
+ # 0| [GoModFile] go.mod
3
3
# 1| 0: [GoModModuleLine] go.mod module line
4
4
# 3| 1: [GoModGoLine] go.mod go line
5
5
input.go:
6
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6
+ # 0| [GoFile] input.go
7
7
# 1| package: [Ident] main
8
8
# 5| 1: [CommentGroup] comment group
9
9
# 5| 0: [SlashSlashComment] comment
@@ -29,7 +29,7 @@ input.go:
29
29
# 3| 0: [ImportSpec] import specifier
30
30
# 3| 0: [StringLit] "fmt"
31
31
other.go:
32
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
32
+ # 0| [GoFile] other.go
33
33
# 1| package: [Ident] main
34
34
# 8| 1: [FuncDecl] function declaration
35
35
# 8| 0: [FunctionName, Ident] hasNested
Original file line number Diff line number Diff line change 1
1
other.go:
2
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
2
+ # 0| [GoFile] other.go
3
3
# 1| package: [Ident] main
4
4
# 3| 1: [FuncDecl] function declaration
5
5
# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 1
1
go.mod:
2
- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2
+ # 0| [GoModFile] go.mod
3
3
# 1| 0: [GoModModuleLine] go.mod module line
4
4
# 3| 1: [GoModGoLine] go.mod go line
5
5
input.go:
6
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6
+ # 0| [GoFile] input.go
7
7
# 1| package: [Ident] main
8
8
# 5| 1: [CommentGroup] comment group
9
9
# 5| 0: [SlashSlashComment] comment
@@ -29,7 +29,7 @@ input.go:
29
29
# 3| 0: [ImportSpec] import specifier
30
30
# 3| 0: [StringLit] "fmt"
31
31
other.go:
32
- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
32
+ # 0| [GoFile] other.go
33
33
# 1| package: [Ident] main
34
34
# 6| 1: [FuncDecl] function declaration
35
35
# 6| 0: [FunctionName, Ident] g
Original file line number Diff line number Diff line change 1
- | Extraction failed in query-tests/Diagnostics/ badimport.go with error invalid import path (invalid character U+007B '{') | 2 |
2
- | Extraction failed in query-tests/Diagnostics/ type.go with error cannot use v (variable of type V) as T value in argument to takesT | 2 |
1
+ | Extraction failed in badimport.go with error invalid import path (invalid character U+007B '{') | 2 |
2
+ | Extraction failed in type.go with error cannot use v (variable of type V) as T value in argument to takesT | 2 |
3
3
| Extraction failed with error expected ';', found wnvwun | 2 |
4
4
| Extraction failed with error expected 'IDENT', found newline | 2 |
5
5
| Extraction failed with error expected 'package', found avvu | 2 |
Original file line number Diff line number Diff line change 1
- | ../../go.mod:0:0:0:0 | ../../go.mod | |
2
1
| badimport.go:0:0:0:0 | badimport.go | |
3
2
| type.go:0:0:0:0 | type.go | |
4
3
| util.go:0:0:0:0 | util.go | |
You can’t perform that action at this time.
0 commit comments