closure-linter icon indicating copy to clipboard operation
closure-linter copied to clipboard

Incorrect handling {get y() {}} syntax

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

The following example

/**
 *
 */
function fff() {
  var x = {
    get y() {
      return 10;
    }
  };
}

causes this error message:
line 20: E0217: Missing @return JsDoc in function with non-trivial return

Original issue reported on code.google.com by [email protected] on 9 Jan 2013 at 8:54

GoogleCodeExporter avatar Jun 17 '15 06:06 GoogleCodeExporter