onflow / cadence-tools

Developer tools for Cadence
https://www.onflow.org/
Apache License 2.0
24 stars 20 forks source link

[lint] Check for nil pointers in CadenceV1Analyzer type annotation inspection #294

Closed jribbink closed 7 months ago

jribbink commented 7 months ago

Description

Adds missing checks for nil pointer dereferences when traversing type annotations.

Ran into this issue in CI for https://github.com/onflow/cadence-tools/pull/286