# New Ticket Created by Salvador Ortiz # Please include the string: [perl #127548] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127548 >
use NativeCall; class MV is repr('CStruct') { has uint64 $.start; method s { if $!start {} } } # Fails use NativeCall; class MV is repr('CStruct') { has uint64 $.start; method s { if +$!start {} } } # This works :/ >From IRC: <sortiz> And the error message is totally uninformative! <Skarsnik> duh <Skarsnik> I don't even get why it does not work x) <sortiz> Toke me hours to find the point of the error! <jnthn> Odd, that's a compile-time failure even <jnthn> sortiz: Yeah, it's a crash during code-gen, bizzarely