Naming a method get_type() results in invalid C code
Submitted by Eric Gregory
Link to original bug (#646489)
Description
In Vala 0.11.7, create a method named get_type(), for example:
public int get_type() { return 0; }
The C compiler will spit out a bunch of errors on compilation, because Vala has generated two functions of the same name. In this case, one will return an integer and the other will return a GType.
Version: 0.11.x