summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_function.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2024-04-09 15:49:44 -0300
committerGeorge Marques <george@gmarqu.es>2024-04-10 11:49:30 -0300
commit4bdba718c5fcb2bd58827b8ede3ea7d0c4251fbd (patch)
tree3e305305c2b3506d486322a4521ff3dd7943348d /modules/gdscript/gdscript_function.cpp
parenta7b860250f305f6cbaf61c30f232ff3bbdfdda0b (diff)
downloadredot-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