Skip to content

[Bug]: No checking for static function accessing instance variables #202

@jarcen

Description

@jarcen

Describe the bug

I don't get red squiggles when accessing instance variables from static functions. It's always the build process that catches these errors.

var int variable;

static Function Test()
{
	Default.variable++; // this should work
	variable++;			// this shouldn't but no error
}

Screenshots

Trust me, that's how it is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions