Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package is not working in Julia 0.2 #17

Open
magistere opened this issue Oct 30, 2013 · 3 comments
Open

Package is not working in Julia 0.2 #17

magistere opened this issue Oct 30, 2013 · 3 comments

Comments

@magistere
Copy link
Contributor

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
@toivoh
Copy link
Owner

toivoh commented Nov 9, 2013

Seems like this must have been caused by some change in Julia's AST format. I'll see if I get some time to look at it.

@toivoh
Copy link
Owner

toivoh commented Nov 10, 2013

I think that I found the cause. I've submitted a bug report with Julia: JuliaLang/julia#4771. If it's not fixed soon, I can implement a workaround.

@hayd
Copy link

hayd commented Oct 22, 2015

also 0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants