You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should fail to compile with Test.hx:7: characters 3-15 : Invalid assign, but it does not. This could cause a runtime exception instead, e.g. on Python:
vara=Date.now();
a.getFullYear() =3;
(Throws AttributeError: attribute 'year' of 'datetime.date' objects is not writable.)
The text was updated successfully, but these errors were encountered:
Ouch. That's actually pretty bad, because my converter can currently generate code like a.getFullYear() = 3 in some cases, and my plan is/was to catch these cases by looking at Haxe compile errors :)
This should fail to compile with
Test.hx:7: characters 3-15 : Invalid assign
, but it does not. This could cause a runtime exception instead, e.g. on Python:(Throws
AttributeError: attribute 'year' of 'datetime.date' objects is not writable
.)The text was updated successfully, but these errors were encountered: