Skip to content

Commit

Permalink
Merge pull request #74 from sashamelentyev/fix/constant
Browse files Browse the repository at this point in the history
fix: change constant value in mapping
  • Loading branch information
sashamelentyev committed Sep 18, 2022
2 parents df5e279 + fba5af3 commit 4b5afe2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions pkg/analyzer/internal/mapping/mapping.go
Expand Up @@ -197,8 +197,8 @@ var TLSSignatureScheme = map[string]string{
var ConstantKind = map[string]string{
// constant.Unknown.String(): "constant.Unknown.String()",
constant.Bool.String(): "constant.Bool.String()",
constant.String.String(): "constant..String()",
constant.Int.String(): "constant..String()",
constant.Float.String(): "constant..String()",
constant.Complex.String(): "constant..String()",
constant.String.String(): "constant.String.String()",
constant.Int.String(): "constant.Int.String()",
constant.Float.String(): "constant.Float.String()",
constant.Complex.String(): "constant.Complex.String()",
}
32 changes: 16 additions & 16 deletions pkg/analyzer/testdata/src/a/constant/kind.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b5afe2

Please sign in to comment.