You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When type-checking Python code that imports lief.ELF, pyright generates the following error:
"ELF" is not a known member of module "lief" (reportAttributeAccessIssue)
To Reproduce
$ cat test.py
import lief
lief.ELF.parse("/usr/bin/ls")
$ pyright test.py
/home/aseitz/lief-typing-test/test.py
/home/aseitz/lief-typing-test/test.py:3:6 - error: "ELF" is not a known member of module "lief" (reportAttributeAccessIssue)
1 error, 0 warnings, 0 informations
Expected behavior
pyright should not generate any errors.
Environment (please complete the following information):
System and Version : Ubuntu 20.04
Target format : ELF
LIEF commit version: 0.14.0-16962f2f
Additional context
This is a regression in 0.14.0. Pyright generates no errors for the same script with lief 0.13.2.
The text was updated successfully, but these errors were encountered:
Describe the bug
When type-checking Python code that imports
lief.ELF
, pyright generates the following error:To Reproduce
Expected behavior
pyright should not generate any errors.
Environment (please complete the following information):
0.14.0-16962f2f
Additional context
This is a regression in 0.14.0. Pyright generates no errors for the same script with lief 0.13.2.
The text was updated successfully, but these errors were encountered: