mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 14:41:28 +00:00
Fixed: Pass correct node to error message when finding duplicated protocol
This commit is contained in:
@@ -1829,7 +1829,7 @@ ProtocolDeclarationStatement: function(node, st, c) {
|
||||
inheritFromProtocols = [];
|
||||
|
||||
if (protocolDef)
|
||||
throw compiler.error_message("Duplicate protocol " + protocolName, node.protocolName);
|
||||
throw compiler.error_message("Duplicate protocol " + protocolName, node.protocolname);
|
||||
|
||||
compiler.imBuffer = new StringBuffer();
|
||||
compiler.cmBuffer = new StringBuffer();
|
||||
|
||||
Reference in New Issue
Block a user