summaryrefslogtreecommitdiffstats
path: root/core/method_bind.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-29 20:11:07 -0300
committerGitHub <noreply@github.com>2017-08-29 20:11:07 -0300
commit9c3bddfac2d80b0e52b94eeace58dbfd249459e7 (patch)
tree574b87e5335c05699f98fde13d2f8812a7325a73 /core/method_bind.h
parent1564a146b3ce8140a039eefbfcdaf8a2b8dc728b (diff)
parent8bd92a96a40b6d680c2e416f86fae30757766bf3 (diff)
downloadredot-engine-9c3bddfac2d80b0e52b94eeace58dbfd249459e7.tar.gz
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
DocData and virtual method type hints fixes
Diffstat (limited to 'core/method_bind.h')
-rw-r--r--core/method_bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/method_bind.h b/core/method_bind.h
index f6cae6f34d..75f09b2cd9 100644
--- a/core/method_bind.h
+++ b/core/method_bind.h
@@ -334,6 +334,7 @@ public:
}
argument_types = at;
arguments = p_info;
+ arguments.return_val.usage |= PROPERTY_USAGE_NIL_IS_VARIANT;
#endif
}