Merge pull request #90448 from vnen/gdscript-infer-string-format
GDScript: Infer type with string format operator
This commit is contained in:
commit
67076c167d
3 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
# GH-88082
|
||||
|
||||
func test():
|
||||
var x = 1
|
||||
var message := "value: %s" % x
|
||||
print(message)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
value: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue