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

bug(ls): ambiguous method call for is_zero #6378

Open
enitrat opened this issue Sep 13, 2024 · 0 comments
Open

bug(ls): ambiguous method call for is_zero #6378

enitrat opened this issue Sep 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working ide This issue refers to CairoLS or editor extensions

Comments

@enitrat
Copy link
Contributor

enitrat commented Sep 13, 2024

Bug Report

Cairo version:

2.8.2 - last edition

Current behavior:

https://github.com/kkrt-labs/kakarot-ssj/blob/main/crates/contracts/tests/test_ownable.cairo#L57-L75

calling is_zero generates an LS error with
image

Expected behavior:

Zeroable is internal to the corelib, so no diagnostic should be reported. This builds fine.

Steps to reproduce:

Clone https://github.com/kkrt-labs/kakarot-ssj/ and navigate to the corresponding file

@enitrat enitrat added the bug Something isn't working label Sep 13, 2024
@orizi orizi added the ide This issue refers to CairoLS or editor extensions label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ide This issue refers to CairoLS or editor extensions
Projects
Status: Backlog
Development

No branches or pull requests

3 participants