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

MISSING_VAR reports for variables inside lock{} #488

Closed
redtopia opened this issue Nov 22, 2017 · 1 comment
Closed

MISSING_VAR reports for variables inside lock{} #488

redtopia opened this issue Nov 22, 2017 · 1 comment
Assignees
Milestone

Comments

@redtopia
Copy link

In the following example, both variables test and r generate errors:

	function test () {
		var test = 1;
		var r = {};
		lock name="mylock" type="exclusive" timeout="20" throwontimeout=true {
			r.test = test;
		}
	}
@ryaneberly ryaneberly self-assigned this Nov 24, 2017
ryaneberly added a commit to cfparser/cfparser that referenced this issue Nov 25, 2017
ryaneberly added a commit that referenced this issue Dec 16, 2017
added test
@ryaneberly
Copy link
Contributor

Fixed in the dev branch

ryaneberly added a commit that referenced this issue Dec 16, 2017
@ryaneberly ryaneberly added this to the 1.3.0 milestone Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants