Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: implement methods for structs #4041

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Merge branch 'master' into feat/struct-methods

ed7ac89
Select commit
Loading
Failed to load commit list.
Draft

wip: implement methods for structs #4041

Merge branch 'master' into feat/struct-methods
ed7ac89
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Feb 19, 2025 in 3s

6 new alerts including 5 errors

New alerts in code changed by this pull request

  • 5 errors
  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 7 in vyper/codegen/self_call.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
vyper.semantics.types.function
begins an import cycle.

Check failure on line 24 in vyper/semantics/types/module.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'EventT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of EventT occurs after the cyclic
import
of vyper.semantics.types.module.
'EventT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of EventT occurs after the cyclic
import
of vyper.semantics.types.module.

Check failure on line 24 in vyper/semantics/types/module.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'FlagT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of FlagT occurs after the cyclic
import
of vyper.semantics.types.module.
'FlagT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of FlagT occurs after the cyclic
import
of vyper.semantics.types.module.

Check failure on line 24 in vyper/semantics/types/module.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'StructT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of StructT occurs after the cyclic
import
of vyper.semantics.types.module.
'StructT' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of StructT occurs after the cyclic
import
of vyper.semantics.types.module.

Check failure on line 24 in vyper/semantics/types/module.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'_UserType' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of _UserType occurs after the cyclic
import
of vyper.semantics.types.module.
'_UserType' may not be defined if module
vyper.semantics.types.user
is imported before module
vyper.semantics.types.module
, as the
definition
of _UserType occurs after the cyclic
import
of vyper.semantics.types.module.

Check failure on line 24 in vyper/semantics/types/user.py

See this annotation in the file changed.

Code scanning / CodeQL

Module-level cyclic import Error

'MemberFunctionT' may not be defined if module
vyper.semantics.types.function
is imported before module
vyper.semantics.types.user
, as the
definition
of MemberFunctionT occurs after the cyclic
import
of vyper.semantics.types.user.
'MemberFunctionT' may not be defined if module
vyper.semantics.types.function
is imported before module
vyper.semantics.types.user
, as the
definition
of MemberFunctionT occurs after the cyclic
import
of vyper.semantics.types.user.