Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect when assigning to a variable declared as component property #246

Closed
mpaluchowski opened this issue Mar 6, 2017 · 0 comments
Closed

Comments

@mpaluchowski
Copy link
Contributor

If a variable is declared as a component property and then assigned a value to, I would expect CFLint not to raise the issue of MISSING_VAR, which it currently does. Ie. for this code:

component {
  property name="foo" type="string";

  public void function bar() {
    foo = "baz";
  }
}

I'd expect no var-related issues.

ryaneberly added a commit that referenced this issue Mar 7, 2017
ryaneberly added a commit that referenced this issue Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants