diff options
author | George Marques <george@gmarqu.es> | 2021-03-09 12:32:35 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2021-03-29 10:45:48 -0300 |
commit | 85e316a5d58a1866ff4c8738f1703b01629abc32 (patch) | |
tree | 5fd740ecc8f89687818f48ca55202cef63402a6a /modules/svg | |
parent | 997a8ae9e8fc04a1a0ea222cbd4922a43861a959 (diff) |
Add typed arrays to GDScript
- Use `Array[type]` for type-hints. e.g.:
`var array: Array[int] = [1, 2, 3]`
- Array literals are typed if their storage is typed (variable
asssignment of as argument in function all). Otherwise they are
untyped.
Diffstat (limited to 'modules/svg')
0 files changed, 0 insertions, 0 deletions