diff options
author | George Marques <george@gmarqu.es> | 2024-04-09 15:49:44 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2024-04-10 11:49:30 -0300 |
commit | 4bdba718c5fcb2bd58827b8ede3ea7d0c4251fbd (patch) | |
tree | 3e305305c2b3506d486322a4521ff3dd7943348d /modules/gdscript/gdscript_function.cpp | |
parent | a7b860250f305f6cbaf61c30f232ff3bbdfdda0b (diff) | |
download | redot-engine-4bdba718c5fcb2bd58827b8ede3ea7d0c4251fbd.tar.gz |
GDScript: Infer type with string format operator
If the left value type is known to be String, assume the format operator
(`%`) will return a string, since it works with any type in the right
hand side. This is also used by type inference even if the right hand
type is unknown at compile time.
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
0 files changed, 0 insertions, 0 deletions