Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

@property outside of class definition causes NRE #1335

Closed
@CTrando

Description

@CTrando

ex:

@property
def foo(self):
    return 123

causes an NRE because declaringType is null for functions outside of a class scope, and in the constructor for PythonPropertyType we do not check for null declaring type.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions