cairo
cairo copied to clipboard
bug(ls): ambiguous method call for `is_zero`
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
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