Skip to content

Persistent variables containing underscores are not properly detected sometimes #451

Open
@m-from-space

Description

@m-from-space

Here is an example of the issue:

persistent_bug

default persistent.VARIABLE = True
default persistent.SOME_VARIABLE = True
default persistent.SOME_OTHER_VARIABLE = True

label start:

    $ v = persistent.VARIABLE

    $ v = persistent.SOME_VARIABLE

    $ v = persistent.SOME_OTHER_VARIABLE

    $ v = (persistent.SOME_OTHER_VARIABLE)

    $ persistent.SOME_OTHER_VARIABLE = False

    $ persistent.NON_EXISTENT = False

    return

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @m-from-space

        Issue actions

          Persistent variables containing underscores are not properly detected sometimes · Issue #451 · renpy/vscode-language-renpy