Main.hx:6: characters 17-27 : Only inline or read-only (default, never) fields can be used as a pattern