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
Someone in the Julia discord found a similar bug that has a similar smell too it.
g = @match Symbol begin
String => 1
Symbol => 2
_ => 3
end
will give g == 1.
Infact, you can change the type of the first match condition to anything and I believe it will always select the first condition for it's result.
Not sure what's going on in this case, the quick fix I suggested to them was to convert types to symbols and match or if/then on those.
The pattern
nothing
seems to successfully match any expressions:The text was updated successfully, but these errors were encountered: