The fix was to provide Serializable for primitive ...
# language-proposals
o
The fix was to provide Serializable for primitive types, hence the change in inference