cairo icon indicating copy to clipboard operation
cairo copied to clipboard

bug(ls): ambiguous method call for `is_zero`

Open enitrat opened this issue 1 year ago • 0 comments

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 avatar Sep 13 '24 12:09 enitrat