mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-17 04:00:42 +00:00
Fixed: Make default return type to 'void' for '@action' or 'IBAction' marked method.
This commit is contained in:
1 parent
29d7833fcb
commit
2e216d7e9a
1 file changed
+1
-1
@@ -1905,7 +1905,7 @@ MethodDeclarationStatement: function(node, st, c) {
|
||||
selectors = node.selectors,
|
||||
nodeArguments = node.arguments,
|
||||
returnType = node.returntype,
|
||||
types = [returnType ? returnType.name : "id"],
|
||||
types = [returnType ? returnType.name : (node.action ? "void" : "id")],
|
||||
returnTypeProtocols = returnType ? returnType.protocols : null;
|
||||
selector = selectors[0].name; // There is always at least one selector
|
||||
|
||||
|
||||
Reference in new issue
Block a user