You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Idea: the DU source-generator automatically writes the dispatching of the Match. #779
I often rely on polymorphic overloads of the same method to handle DU cases indivdually:
Ideally I would have some syntax like this:
shape.Dipatch(Canvas.Draw);
This is obviously not possible, usually I write code like this: I write a public function which is delegating to individual overloads of the same Methodgroup. This is similar to the accept method in the visitor pattern:
Activity
FreeApophis commentedon Sep 24, 2026
Closed: see parent item.