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

Stackoverflow with execute() function #200

Closed
rcastagno opened this issue Oct 18, 2016 · 1 comment
Closed

Stackoverflow with execute() function #200

rcastagno opened this issue Oct 18, 2016 · 1 comment

Comments

@rcastagno
Copy link
Contributor

I've narrowed the problem to this case:

<cfscript> for (a=1;a lte b;a=a+1) { if (comparenocase(c, d) is 0) { e.f=g; execute(h = i, l = m); } } </cfscript>

The error is

Exception in thread "main" java.lang.StackOverflowError
at cfml.parsing.cfscript.script.CFExpressionStatement.Decompile(CFExpressionStatement.java:17)
at cfml.parsing.cfscript.script.CFCompoundStatement.Decompile(CFCompoundStatement.java:54)
...
...

This version of the test

<cfscript> for (a=1;a lte b;a=a+1) { if (comparenocase(c, d) is 0) { e.f=g; fooexecute(h = i, l = m); } } </cfscript>

runs just fine.

@rcastagno
Copy link
Contributor Author

Actually, works with dev branch, probably just an already solved bug of cfml.parsing

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

1 participant