JuliaServices / AutoHashEquals.jl

A Julia macro to add == and hash() to composite types.
Other
57 stars 12 forks source link

broken on julia 0.6 #8

Closed CarloLucibello closed 7 years ago

CarloLucibello commented 7 years ago

I get the following error on julia master:

julia> include("runtests.jl")
ERROR: LoadError: syntax: field name "Main.j" is not a symbol
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:539
 [2] include(::String) at ./sysimg.jl:14
while loading /home/carlo/Git/AutoHashEquals.jl/test/runtests.jl, in expression starting on line 56
andrewcooke commented 7 years ago

this seems to be because the "dummy()" macro does not escape what it returns. if you change it's result to esc(x) then this error disappears.

however, that then reveals another error i don't yet understand.

andrewcooke commented 7 years ago

the other error was fixed by not having docs in a nested element. there's something weird about docs, but it seems like it's julia's problem, not mine.