Skip to content

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