dleonard0 / pony-vim-syntax

Vim syntax plugin for ponylang
The Unlicense
30 stars 5 forks source link

syntax error: expected name after class [pony/ponyc] #10

Open killerswan opened 8 years ago

killerswan commented 8 years ago

Right after installing the latest pony-vim-syntax, and opening up some files in the latest ponyc master, I see this error.

Syntax has changed? screen shot 2016-03-26 at 8 25 13 pm

That's with syntastic set up more or less like so.

Earnestly commented 8 years ago

From here you can see that the error is generated from ponyc --pass=expr parentdir. Either the syntax has changed or ponyc --pass=expr is incorrect, try asking #ponylang on freenode.net or opening an issue at https://github.com/ponylang/ponyc/issues

From pony.g this should be valid as it indicates an optional cap after the class_def.