DescriptionSuppress misplacedTypeAnnotation to compile cr.defineProperty with annotation.
/** @type {number} */ cr.defineProperty(a, 'c'); doesn't compile because of the warning misplacedTypeAnnotation.
As the warning is from parser, it can not be suppressed by @suppress tag.
So this CL suppress the warning by compile option.
BUG=421562
Committed: https://crrev.com/53cb928e457a94a94622ec4e4b77083038092a54
Cr-Commit-Position: refs/heads/master@{#302223}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|