Describe the bug
The following line is assumed to be a type union (3.10) by vermin:
if (global_byte | local_byte) != global_byte:
To Reproduce
Found while scanning the kafl.fuzzer project with vermin.
$ vermin -vvv kafl_fuzzer | grep 3.10
!2, 3.10 /home/mtarral/kAFL/kafl/fuzzer/kafl_fuzzer/manager/bitmap.py
L93: union types as `X | Y` requires !2, 3.10
Minimum required versions: 3.10
You can check the "faulty" line
Expected behavior
This shouldn't be flagged as a union type (and shouldn't require 3.10, since our software runs fine on 3.8)
Environment (please complete the following information):
- Vermin version: 1.4.2 (pip)
Thanks for vermin !
Describe the bug
The following line is assumed to be a type union (
3.10) by vermin:To Reproduce
Found while scanning the kafl.fuzzer project with vermin.
You can check the "faulty" line
Expected behavior
This shouldn't be flagged as a union type (and shouldn't require
3.10, since our software runs fine on3.8)Environment (please complete the following information):
Thanks for vermin !