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

Cadence Paths Equality Comparison #1815

Closed
janezpodhostnik opened this issue Jul 14, 2022 · 0 comments · Fixed by #1911
Closed

Cadence Paths Equality Comparison #1815

janezpodhostnik opened this issue Jul 14, 2022 · 0 comments · Fixed by #1911
Assignees

Comments

@janezpodhostnik
Copy link
Contributor

Issue To Be Solved

Currently it is not possible to check Cadence Paths for equality

path != (/storage/flowTokenVault as Path)

results in:

cannot apply binary operation != to types: "Path", "Path"

Suggested Solution

Paths should be comparable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@turbolent @dreamsmasher @janezpodhostnik and others