prysm-pulse/slasher/db/kv
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
..
attester_slashings_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
attester_slashings.go QST40 QST42 QST44 - Move deletes to test scope only (#6410) 2020-06-26 04:29:13 +00:00
benchmark_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
block_header_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
block_header.go Align code base to v0.11 (#5127) 2020-04-14 20:27:03 +00:00
BUILD.bazel Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
chain_data_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
chain_data.go Replace boltdb imports with bbolt import (#5193) 2020-03-24 20:00:54 +00:00
indexed_attestations_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
indexed_attestations.go Replace boltdb imports with bbolt import (#5193) 2020-03-24 20:00:54 +00:00
kv_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
kv.go Code quality issues - Remove unused code (#6864) 2020-08-05 13:59:46 +02:00
proposer_slashings_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
proposer_slashings.go QST40 QST42 QST44 - Move deletes to test scope only (#6410) 2020-06-26 04:29:13 +00:00
schema.go Cleanup flat spans implementation (#6150) 2020-06-11 14:17:44 -04:00
spanner_new_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
spanner_new.go Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
spanner_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
spanner.go Cleanup flat spans implementation (#6150) 2020-06-11 14:17:44 -04:00
validator_id_pubkey_test.go Applies assertion funcs to slasher/* tests (#6998) 2020-08-18 12:41:25 +00:00
validator_id_pubkey.go Replace boltdb imports with bbolt import (#5193) 2020-03-24 20:00:54 +00:00