Announcement / closure-linter

Automatically exported from code.google.com/p/closure-linter
Apache License 2.0
0 stars 0 forks source link

Incorrect handling {get y() {}} syntax #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 se...@google.com on 9 Jan 2013 at 8:54