vala-intellij-plugin
vala-intellij-plugin copied to clipboard
Parser errors
- https://drive.google.com/file/d/0B8oRwntAar7cYU56Wk9XeEZxMkE/view?usp=sharing
- https://drive.google.com/file/d/0B8oRwntAar7cbTdmUFhBcVRleFU/view?usp=sharing
- https://drive.google.com/file/d/0B8oRwntAar7cUFRWQnp0YmVSMDQ/view?usp=sharing
Found by @ruckus-dj
- is invalid as per Vala documentation:
However, to define or refer to an identifier with a name that either starts with a digit or is a keyword, you must prefix it with the '@' character.
About 2. I think the array braces []
should be after type, like:
const string [] NAMES
Don't know about it. All three examples are compiles without errors. About warnings I'll check tomorrow. Seems Vala don't have a stable syntax and fresh documentation. Working with it for only two months. By the way, pre-increment didn't parsed normal too. example: var a = 2; ++a;
Yeah, syntax stability is definitely a Vala's weak part
- Compiles without any warnings or errors.
- Warnings like this: /home/ruckus/projects/dualit/libs/libgpslip/Slip.vala:382.59-382.77: warning: Access to static member `Gp.Slip.ARROW_DOWN_XPM' with an instance reference this.arrow_down_pixbuf = new Gdk.Pixbuf.from_xpm_data(this.ARROW_DOWN_XPM);
Vala version 0.28.1.