prysm-pulse/shared/event
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 Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
example_feed_test.go Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601) 2018-10-02 21:49:01 -04:00
example_scope_test.go Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601) 2018-10-02 21:49:01 -04:00
example_subscription_test.go Migrate dependencies on @com_github_ethereum_go_ethereum//event (#601) 2018-10-02 21:49:01 -04:00
feed_test.go Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
feed.go Other Package Godocs for Prysm (#5681) 2020-04-29 21:32:39 +00:00
subscription_test.go First take of applying assertion funcs to shared tests (#6666) 2020-08-25 10:18:29 +00:00
subscription.go Replace context.Background() with more appropriate context (#7136) 2020-09-09 09:48:52 +00:00