mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 07:25:52 +00:00
Fixed: Marked function 'method_getTypes' as deprecated
This commit is contained in:
1 parent
ad1a15faaa
commit
920daf7fde
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user