-
-
Notifications
You must be signed in to change notification settings - Fork 0
Funky Generic Thing #30
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
This code does not work:
It craps out because in
is_okit's doing a match, and it fails to match at all. If the generics weren't there it would work fine.This works, and I'm not sure why:
How are we distinguishing between the different Results? There is no visible type information there, and if there had been it would fail.
So generics are certainly not done.