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 11go.mod:
2- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2+ # 0| [GoModFile] go.mod
33# 1| 0: [GoModModuleLine] go.mod module line
44# 3| 1: [GoModGoLine] go.mod go line
55input.go:
6- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6+ # 0| [GoFile] input.go
77# 1| package: [Ident] main
88# 5| 1: [CommentGroup] comment group
99# 5| 0: [SlashSlashComment] comment
@@ -597,7 +597,7 @@ input.go:
597597# 145| Type = []int
598598# 145| 1: [BlockStmt] block statement
599599other.go:
600- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
600+ # 0| [GoFile] other.go
601601# 1| package: [Ident] main
602602# 3| 1: [FuncDecl] function declaration
603603# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 11go.mod:
2- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2+ # 0| [GoModFile] go.mod
33# 1| 0: [GoModModuleLine] go.mod module line
44# 3| 1: [GoModGoLine] go.mod go line
55input.go:
6- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6+ # 0| [GoFile] input.go
77# 1| package: [Ident] main
88# 3| 1: [ImportDecl] import declaration
99# 3| 0: [ImportSpec] import specifier
@@ -577,7 +577,7 @@ input.go:
577577# 145| Type = []int
578578# 145| 1: [BlockStmt] block statement
579579other.go:
580- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
580+ # 0| [GoFile] other.go
581581# 1| package: [Ident] main
582582# 3| 1: [FuncDecl] function declaration
583583# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 11go.mod:
2- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2+ # 0| [GoModFile] go.mod
33# 1| 0: [GoModModuleLine] go.mod module line
44# 3| 1: [GoModGoLine] go.mod go line
55input.go:
6- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6+ # 0| [GoFile] input.go
77# 1| package: [Ident] main
88# 5| 1: [CommentGroup] comment group
99# 5| 0: [SlashSlashComment] comment
@@ -29,7 +29,7 @@ input.go:
2929# 3| 0: [ImportSpec] import specifier
3030# 3| 0: [StringLit] "fmt"
3131other.go:
32- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
32+ # 0| [GoFile] other.go
3333# 1| package: [Ident] main
3434# 8| 1: [FuncDecl] function declaration
3535# 8| 0: [FunctionName, Ident] hasNested
Original file line number Diff line number Diff line change 11other.go:
2- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
2+ # 0| [GoFile] other.go
33# 1| package: [Ident] main
44# 3| 1: [FuncDecl] function declaration
55# 3| 0: [FunctionName, Ident] main
Original file line number Diff line number Diff line change 11go.mod:
2- # 0| [GoModFile] library-tests/semmle/go/PrintAst/ go.mod
2+ # 0| [GoModFile] go.mod
33# 1| 0: [GoModModuleLine] go.mod module line
44# 3| 1: [GoModGoLine] go.mod go line
55input.go:
6- # 0| [GoFile] library-tests/semmle/go/PrintAst/ input.go
6+ # 0| [GoFile] input.go
77# 1| package: [Ident] main
88# 5| 1: [CommentGroup] comment group
99# 5| 0: [SlashSlashComment] comment
@@ -29,7 +29,7 @@ input.go:
2929# 3| 0: [ImportSpec] import specifier
3030# 3| 0: [StringLit] "fmt"
3131other.go:
32- # 0| [GoFile] library-tests/semmle/go/PrintAst/ other.go
32+ # 0| [GoFile] other.go
3333# 1| package: [Ident] main
3434# 6| 1: [FuncDecl] function declaration
3535# 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 |
33| Extraction failed with error expected ';', found wnvwun | 2 |
44| Extraction failed with error expected 'IDENT', found newline | 2 |
55| 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 | |
21| badimport.go:0:0:0:0 | badimport.go | |
32| type.go:0:0:0:0 | type.go | |
43| util.go:0:0:0:0 | util.go | |
You can’t perform that action at this time.
0 commit comments