Dania
MModular
•Created by Dania on 12/25/2023 in #questions
Why doesn't __bool__ allow explicit conversion?
I am playing with "Low level IR" level and it works great. However when i try to print out OurBool i get errors stating that OurBool can not be converted to Bool despite having a __bool__ method.
I am using Mojo 6.1
5 replies