Skip to content

Commit

Permalink
Fix minor typo in RecordUsedAsConstants docstring
Browse files Browse the repository at this point in the history
Updates RecordUsedAsConstants docstring with minor typo fix for
identifiers.

Signed-off-by: hasheddan <[email protected]>
  • Loading branch information
hasheddan authored and lu4p committed Aug 20, 2021
1 parent 5c70681 commit 6b632d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/literals/literals.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func obfuscateByteArray(data []byte, length int64) *ast.CallExpr {
return ah.LambdaCall(arrayType, block)
}

// RecordUsedAsConstants records identifieres used in constant expressions.
// RecordUsedAsConstants records identifiers used in constant expressions.
func RecordUsedAsConstants(node ast.Node, info *types.Info, ignoreObj map[types.Object]bool) {
visit := func(node ast.Node) bool {
ident, ok := node.(*ast.Ident)
Expand Down

0 comments on commit 6b632d0

Please sign in to comment.