Suppress misplacedTypeAnnotation to compile cr.defineProperty with annotation.
commit53cb928e457a94a94622ec4e4b77083038092a54
authorfukino <fukino@chromium.org>
Fri, 31 Oct 2014 04:56:07 +0000 (30 21:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Oct 2014 04:56:24 +0000 (31 04:56 +0000)
tree2b1c727379976c460d63447bfd917b83f79a9b58
parent85552242275fd01d18f5e84730da6b5acee35492
Suppress 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

Review URL: https://codereview.chromium.org/687453007

Cr-Commit-Position: refs/heads/master@{#302223}
third_party/closure_compiler/checker.py