Menu ▾ ▴

#71 consider initializer-only variable declarations

open
None
5
2018-04-09
2018-04-09
No

If a variable declaration specifies an initializer and no other properties except type (e.g. "declare a : integer = 0"), may we not omit the type (as in "declare a = 0") and infer variable type from the constant's type ?

Discussion