Closed rdeits closed 4 years ago
Here's a simple example of trying to match a type:
julia> T = Int Int64 julia> @match T begin Float64 => println("float") Int => println("int") end float
Somehow Int ends up matching Float64, not Int.
Int
Float64
Looks like I was misunderstanding the expected behavior, per https://github.com/thautwarm/MLStyle.jl/issues/91
Here's a simple example of trying to match a type:
Somehow
Int
ends up matchingFloat64
, notInt
.