You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The verify method of messages with multiple messages field gets multiple es6 block-scoped let error declarations.
This causes Uncaught SyntaxError: Identifier 'error' has already been declared on v8.
/** * Verifies a Shadow message. * @param {Object.<string,*>} message Plain object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */Shadow.verify=functionverify(message){if(typeofmessage!=="object"||message===null)return"object expected";leterror=$root.Color.verify(message.color);if(error)return"color."+error;if(typeofmessage.blur!=="number")return"blur: number expected";leterror=$root.Point.verify(message.offset);if(error)return"offset."+error;returnnull;};
protobuf.js version: 6.7.3
The
verify
method of messages with multiple messages field gets multiple es6 block-scopedlet error
declarations.This causes
Uncaught SyntaxError: Identifier 'error' has already been declared
on v8.The text was updated successfully, but these errors were encountered: