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

fix: RangeError #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kornel-kedzierski
Copy link

for arg, i in args
args[i] = @tryCallArgument(arg)

Code from above added in 2.3.2 version somtimes throws an error: Maximum call stack size exceeded.
It is thrown in Helpers.clone method (my best guess is circular reference).

@davidkudera
Copy link
Member

Thank you. I will take a look at it tomorrow, now I am just on my phone on holidays.

@davidkudera
Copy link
Member

Please, can you post code which causes this error? I think that we will have to find some other solution because it is called from DIFactory here. Without this code, arguments in config file will not work. And now I see the problem, that there are probably no tests for these arguments

@kornel-kedzierski
Copy link
Author

I've published sample project here.

@davidkudera
Copy link
Member

Thanks, I will take a look at it

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

Successfully merging this pull request may close these issues.

2 participants