diff --git a/core/global_constants.cpp b/core/global_constants.cpp
index 1bdd1a2ba..87a8be1a8 100644
--- a/core/global_constants.cpp
+++ b/core/global_constants.cpp
@@ -634,6 +634,7 @@ void register_global_constants() {
BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_REVERSE);
BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_VIRTUAL);
BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_FROM_SCRIPT);
+ BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAG_VARARG);
BIND_GLOBAL_ENUM_CONSTANT(METHOD_FLAGS_DEFAULT);
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_NIL", Variant::NIL);
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 3003cb4c5..b188bdd65 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -1552,6 +1552,8 @@
Deprecated method flag, unused.
+
+
Default method flags.