GNOME Bugzilla – Bug 793748
Add type inference syntax for const values
Last modified: 2018-05-22 16:00:52 UTC
For constant values, Vala can not use type inference. I propose to add the keyword 'let' that works in the same spirit as 'var', just creating a constant type, i.e.: let x = 10; The choice 'let' is analog to other languages, such as Swift, and also matches fine with mathematical articles, where it is often used to describe constant values as well.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/619.