prysm-pulse/shared/trieutil
Radosław Kapka aaa3abf630
Shadowed Predeclared Indentifier analyzer (#7215)
* wip

* working for some ast nodes

* works for all but assignment

* works for all but mixed assignments

* change test name

* plug in the analyzer

* remove `copy` from predeclared list

* rename few shadowing names

* rename `len` to `length`

* add one more test case

* rename `panic` to `panicResult`

* replace `panic` with `panicResult` in error message

* remove test case not covered by the tool

* add `byte` to predeclared list

* additional test cases

* rename `copy` to `copyHandler`

* exclude functions with receivers

* revert to good names

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-09-14 12:49:15 +02:00
..
BUILD.bazel Update VerifyMerkleBranch to match ETH2.0 spec (#6767) 2020-08-25 20:57:41 +00:00
helpers_test.go Optimize Insertion in Deposit Trie (#4299) 2019-12-17 02:19:12 +00:00
helpers.go Optimize Insertion in Deposit Trie (#4299) 2019-12-17 02:19:12 +00:00
sparse_merkle_test.go Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
sparse_merkle.go Update VerifyMerkleBranch to match ETH2.0 spec (#6767) 2020-08-25 20:57:41 +00:00
zerohashes.go Add New State Utils (#5117) 2020-03-17 14:25:17 -05:00