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 — Error CS0136: A local variable named `obj' cannot be declared in this scope... · Issue #108 · PlayScriptRedux/playscript

Error CS0136: A local variable named `obj' cannot be declared in this scope... #108

New issue
Copy link
New issue
Copy link
Open
Open
Error CS0136: A local variable named `obj' cannot be declared in this scope...#108
Copy link
Labels
☠ language non-compliance⚠test needed⭐⭐⭐

Description

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

Full error: Error CS0136: A local variable named obj' cannot be declared in this scope because it would give a different meaning toobj', which is already used in a `parent or current' scope to denote something else (CS0136)

Valid ActionScript:

var obj:Object;
var f:Function = function(obj:Object):void {
    trace(obj);
};
obj = "foobar";
f(obj);

Found: Starling AssetManager.as

/Users/sushi/code/redux/Starling-v1.7/starling/src/starling/utils/AssetManager.as(63,63): Error CS0136: A local variable named `asset' cannot be declared in this scope because it would give a different meaning to `asset', which is already used in a `parent or current' scope to denote something else (CS0136) (PlayScript.Starlingv1.7.MonoMac) 

/Users/sushi/code/redux/Starling-v1.7/starling/src/starling/utils/AssetManager.as(67,67): Error CS0136: A local variable named `asset' cannot be declared in this scope because it would give a different meaning to `asset', which is already used in a `parent or current' scope to denote something else (CS0136) (PlayScript.Starlingv1.7.MonoMac)

/Users/sushi/code/redux/Starling-v1.7/starling/src/starling/utils/AssetManager.as(32,32): Error CS0136: A local variable named `e' cannot be declared in this scope because it would give a different meaning to `e', which is already used in a `child' scope to denote something else (CS0136) (PlayScript.Starlingv1.7.MonoMac)

/Users/sushi/code/redux/Starling-v1.7/starling/src/starling/utils/AssetManager.as(32,32): Error CS0136: A local variable named `e' cannot be declared in this scope because it would give a different meaning to `e', which is already used in a `child' scope to denote something else (CS0136) (PlayScript.Starlingv1.7.MonoMac)

Activity

  1. sushihangover
    added
    ☠ bug
    ⚠test needed
    ☠ language non-compliance
    ⭐⭐⭐
    and removed
    ☠ bug
    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.