Fix minor typo in RecordUsedAsConstants docstring

Updates RecordUsedAsConstants docstring with minor typo fix for
identifiers.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
pull/386/head
hasheddan 4 years ago committed by lu4p
parent 5c70681fee
commit 6b632d07e2

@ -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)

Loading…
Cancel
Save