Fixed: Removed old function instead of mark it deprecated

This commit is contained in:
Martin Carlberg
2015-11-20 14:54:11 +01:00
parent d0fd53a2ca
commit 141d737ca5
-8
View File
@@ -1020,14 +1020,6 @@ 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;
}
GLOBAL(method_copyReturnType) = function(/*Method*/ aMethod)
{
var types = aMethod.method_types;