Skip to content

Real-time error checking issues with custom namespaces #844

Description

@ylazy

Hi!

The compiler didn't work correctly in these cases:

Case 1:

Wrong code:

EventPriority.origin::HIGHEST

Correct code:

EventPriority.hidden::HIGHEST

There's no HIGHEST property under the origin public namespace. But there's no error displayed.

Case 2:

Wrong code:

override origin function x(value:Number):void
{
    super.origin::x = value;
}

Correct code:

override origin function set x(value:Number):void
{
    super.origin::x = value;
}

Missing set but there's no error displayed.

These errors still occurred when I compiled my app/lib. But it would be better if I can see them sooner.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions