1132
you are viewing a single comment's thread
view the rest of the comments
[-] BaardFigur@lemmy.world 9 points 2 years ago

Then you find out it worked because you added a defaulted ==-operator, which meant that all classes in the variant now had a ==-operaror, which then gave the variant itself a ==-operator, which then was a valid type.

this post was submitted on 11 Oct 2023
1132 points (100.0% liked)

Programmer Humor

37589 readers
625 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS