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

Recursive function with Array/Map parameters may works wrong #11

Open
DaddyTrap opened this issue Jul 5, 2018 · 0 comments
Open

Recursive function with Array/Map parameters may works wrong #11

DaddyTrap opened this issue Jul 5, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DaddyTrap
Copy link
Contributor

Now sushiscript's code generation part (bash) uses "name" (like local -n par0=$1) to pass array/map to function. It may cause some unexpected fault in recursive function.

Because code generation part pass simple type by "value", so that is ok for simple type.

@DaddyTrap DaddyTrap added the bug Something isn't working label Jul 5, 2018
@DaddyTrap DaddyTrap self-assigned this Jul 5, 2018
@DaddyTrap DaddyTrap added the enhancement New feature or request label Jul 5, 2018
@VinaLx-zz VinaLx-zz removed the enhancement New feature or request label Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants