crytic / crytic/slither

[bug]:version 0.9.1 crashes "AttributeError: 'NoneType' object has no attribute 'context'" related to using for/ constant folding

Open
#1,467 3 comments 0 reactions 0 assignees View on GitHub
bug High Priority
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the issue:

slither can't compile my code errors with "AttributeError: 'NoneType' object has no attribute 'context'"

this is with version 0.9.1

the stacktrace from slither is too cryptic to me to figure out which contract or why it is caused

### Code example to reproduce the issue:

issue is visible on this CI run https://github.com/beehive-innovation/rain-protocol/actions/runs/3456654052/jobs/5769538607

### Version:

0.9.1

### Relevant log output:

```shell
https://github.com/beehive-innovation/rain-protocol/actions/runs/3456654052/jobs/5769538607
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.