Autocompletion: Try to guess method return type even if subscript base has no value

This commit is contained in:
HolonProduction
2023-10-31 19:34:30 +01:00
parent abf8e1e6f9
commit 24912d2010
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
[output]
include=[
; String
{"display": "begins_with(…)"},
]

View File

@@ -0,0 +1,9 @@
class B:
func to_str(b: int):
return str(b)
var a: B
func _ready():
a.to_str(10).
pass