Trying to run first example from documentation gives error:
using PatternDispatch
@pattern f(x) = x
@pattern f(2) = 42
println({f(x) for x=1:4})
Warning: using Base.Meta in module Meta conflicts with an existing identifier.
ERROR: syntax: malformed function argument (call (top typeassert) (call (top get
field) #<julia_value> 'args) (call (top apply_type) Vararg Any))
at C:\test.jl:1