Fixed: Marked function 'method_getTypes' as deprecated

This commit is contained in:
Martin Carlberg committed 2015-11-10 11:30:29 +01:00
1 parent ad1a15faaa
commit 920daf7fde
1 file changed
+3
+3
View File
@@ -1020,8 +1020,11 @@ GLOBAL(method_getName) = function(/*Method*/ aMethod)
return aMethod.method_name;
}
// FIXME: This function is deprecated and should be removed in a future release
// Please use 'method_copyReturnType' or 'method_copyArgumentType'
GLOBAL(method_getTypes) = function(/*Method*/ aMethod)
{
console.warn("Runtime function 'method_getTypes' is deprecated. Please use function 'method_copyReturnType' or 'method_copyArgumentType'");
return aMethod.method_types;
}