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 error when no variables in arguments #388

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

DieMyst
Copy link
Member

@DieMyst DieMyst commented Dec 22, 2021

This code throws an error on aqua run, but it is valid

import Srv, Service from "@fluencelabs/aqua-lib/builtin.aqua"
func list() -> []Service:
    on HOST_PEER_ID:
        result <- Srv.list()
    <- result

PR fixes it

@DieMyst DieMyst requested a review from alari December 22, 2021 08:16
@DieMyst DieMyst merged commit afbdf69 into main Dec 22, 2021
@DieMyst DieMyst deleted the aqua-run-unsupported-exception branch December 22, 2021 08:28
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.

None yet

2 participants