Skip to content

[BUG] Class fields can be manifested with no previous declaration #413

Description

@NotHyper-474

Basically you can do foo = bar without having to first explicitly add a class-level field declaration for foo. It's related to #341 (funnily enough this issue's number is composed of the same digits)

class Issue413 extends Module
{
	override function onCreate(_):Void
	{
		thisIsNotSupposedToWork = 10;
		trace(thisIsNotSupposedToWork, 'wtf?');
	}
}

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions