gcv / julia-snail

An Emacs development environment for Julia
GNU General Public License v3.0
230 stars 21 forks source link

parser fails on function like objects #16

Closed schrimpf closed 4 years ago

schrimpf commented 4 years ago

The following will trigger a "loaded in Julia, but the Snail parser failed" message

struct this_will_break_snail
  a
end
function (x::this_will_break_snail)(b) 
  x.a + b
end
gcv commented 4 years ago

Should be fixed now in MELPA. Please take a look.

schrimpf commented 4 years ago

Yeah, works for me. Thank!