Skip to content

Package is not working in Julia 0.2 #17

@magistere

Description

@magistere

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions