File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
test/library-tests/semmle/go/PrintAst Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class LabeledStmt extends @labeledstmt, Stmt {
116116
117117 override string toString ( ) { result = "labeled statement" }
118118
119- override string getAPrimaryQlClass ( ) { result = "LabelledStmt " }
119+ override string getAPrimaryQlClass ( ) { result = "LabeledStmt " }
120120}
121121
122122/**
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ input.go:
6060# 20| 1: [StringLit] "Hi"
6161# 20| Type = string
6262# 20| Value = [StringLit] Hi
63- # 22| 2: [LabelledStmt ] labeled statement
63+ # 22| 2: [LabeledStmt ] labeled statement
6464# 22| 0: [Ident, LabelName] outer
6565# 23| 1: [ForStmt] for statement
6666# 23| 0: [ConstantName, Ident] true
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ input.go:
4040# 20| 1: [StringLit] "Hi"
4141# 20| Type = string
4242# 20| Value = [StringLit] Hi
43- # 22| 2: [LabelledStmt ] labeled statement
43+ # 22| 2: [LabeledStmt ] labeled statement
4444# 22| 0: [Ident, LabelName] outer
4545# 23| 1: [ForStmt] for statement
4646# 23| 0: [ConstantName, Ident] true
You can’t perform that action at this time.
0 commit comments