Skip to content

Private field is not understood by VScode. #1239

@pinkfrog9

Description

@pinkfrog9

Given the following code,

@define
class X:
  _foo:int

The following initialization code will run without error,

x = X(foo=3)
```.

However, Vscode does not understood `foo` is valid in `X(foo=3)`. It will auto complete with `X(_foo)` instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions