Merge pull request #544 from github/erik-krogh/fix-primaryqlclass-typo

fix typo in the `getAPrimaryQlClass` implementation for `LabeledStmt`
This commit is contained in:
Sauyon Lee
2021-05-29 18:59:36 +00:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ class LabeledStmt extends @labeledstmt, Stmt {
override string toString() { result = "labeled statement" }
override string getAPrimaryQlClass() { result = "LabelledStmt" }
override string getAPrimaryQlClass() { result = "LabeledStmt" }
}
/**

View File

@@ -60,7 +60,7 @@ input.go:
# 20| 1: [StringLit] "Hi"
# 20| Type = string
# 20| Value = [StringLit] Hi
# 22| 2: [LabelledStmt] labeled statement
# 22| 2: [LabeledStmt] labeled statement
# 22| 0: [Ident, LabelName] outer
# 23| 1: [ForStmt] for statement
# 23| 0: [ConstantName, Ident] true

View File

@@ -40,7 +40,7 @@ input.go:
# 20| 1: [StringLit] "Hi"
# 20| Type = string
# 20| Value = [StringLit] Hi
# 22| 2: [LabelledStmt] labeled statement
# 22| 2: [LabeledStmt] labeled statement
# 22| 0: [Ident, LabelName] outer
# 23| 1: [ForStmt] for statement
# 23| 0: [ConstantName, Ident] true