GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Variable definitions outside package scope · Issue #109 · PlayScriptRedux/playscript

Variable definitions outside package scope #109

New issue
Copy link
New issue
Copy link
Open
Open
Variable definitions outside package scope#109
Copy link
Labels
☠ language non-compliance⚠test needed⭐⭐⭐

Description

@sushihangover
sushihangover
opened on Jan 11, 2016
Issue body actions

Valid ActionScript:

package {
import flash.display.Sprite;
public class Main extends Sprite {
    public function Main() {
        once();
        once();
    }
    public function once():void {
        if (!deprecationNotified) {
            deprecationNotified = true;
            trace("The method 'XXX' is deprecated");
        }
    }
}
}
var deprecationNotified:Boolean = false;

Output: (only one trace message)

[trace] The method 'XXX' is deprecated

Found: Starling transformCoords.as

Activity

  1. sushihangover
    added
    ⚠test needed
    ⭐⭐⭐
    ☠ language non-compliance
    on Jan 11, 2016
  2. sushihangover
    changed the title [-]variable definitions outside package scope[/-] [+]Variable definitions outside package scope[/+] on Jan 11, 2016
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

    ☠ language non-compliance⚠test needed⭐⭐⭐

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.