mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Merge pull request #544 from github/erik-krogh/fix-primaryqlclass-typo
fix typo in the `getAPrimaryQlClass` implementation for `LabeledStmt`
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user