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

[API] Add hcl.return_() operation #31

Closed
chhzh123 opened this issue Mar 7, 2022 · 2 comments
Closed

[API] Add hcl.return_() operation #31

chhzh123 opened this issue Mar 7, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@chhzh123
Copy link
Member

chhzh123 commented Mar 7, 2022

hcl.return() has been added previously in a non-function context, but the implementation is incorrect. Thus, we need to reimplement it after we have hcl.def_() op.

@chhzh123 chhzh123 added the enhancement New feature or request label Mar 7, 2022
@chhzh123 chhzh123 added this to the Integration tests milestone Mar 7, 2022
@chhzh123 chhzh123 self-assigned this Mar 7, 2022
@chhzh123
Copy link
Member Author

chhzh123 commented Mar 7, 2022

@chhzh123 chhzh123 closed this as completed Mar 7, 2022
@chhzh123
Copy link
Member Author

Should also support hcl.return_() in imperative programs, especially for the programs with if-else structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant