`int` should change size based on target system
In Go, int is 32-bit on 32-bit targets, 64-bit on 64-bit targets. V's int should follow these same rules.
Alex has stated (on Discord) that this is an intended change.
I would like to see this change made sooner, rather than later, as it affects other tools such as go2v, which currently changes int to isize in the V code, to force the types to work the same between the languages.
Once this change it made, that forced type change will no longer be required.
[!NOTE] You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
Connected to Huly®: V_0.6-24411
-d new_int allows int size to be changed based on the target system.