im a very newbie in here and i need help that im trying to compile my simple code of haxe , and it still an error with Meal.hx:1: characters 0-7 is missing ;
i dont know where the error is, here's the code:
public var name : String;
public function new(f_name : String)
this.name = f_name;
package names must start with a lower case letter (similarly type names must start with a capital letter).
since MyFridge is not a valid package name, the only other parsing rule in the haxe syntax for package declarations isfor the empty package (package;) hence the error that ; was expected.
Yes, but the error message is really confusing, so I think we should improve that.
detect uppercase package names and give an error accordingly (closes #…