colhountech / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

bogus "no side effects" warning #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
function foo() {
  while (bar) {
    function baz(x) {
      return function() {
        x.qux();
      };
    }; // warning underlined here

    window.setTimeout(baz(o), 0);
  }
};

Original issue reported on code.google.com by steve.ye...@gmail.com on 15 May 2008 at 5:48

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 15 May 2008 at 5:53

GoogleCodeExporter commented 8 years ago
Fixed for May 21 release.

Original comment by steve.ye...@gmail.com on 22 May 2008 at 12:24

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 22 May 2008 at 12:24