Skip to content

invalid consume when class properties declared without namespace attribute (with workaround) #1

Open
@crawfordcomeaux

Description

@crawfordcomeaux

If a variable's declared in a class and it isn't specified as public, private, protected, etc., the emitter will throw an error.

This will throw an error:

package test
{
   public class foo extends Object
   {    
      var bar;
   }
}

Here's the workaround:

package test
{
   public class foo extends Object
   {
      internal var bar;
   }
}

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