Quite serious issue from my PoV...
/**
* @constructor
*/
var Foo = function() {}
Foo.prototype = {
eval: function(a, b)
{
var foo = null;
}
}
Compiling this code will result in:
Foo.js:10: WARNING - Missing return statement. Function expected to return
(Object|null).
eval: function(a, b)
^
Original issue reported on code.google.com by apav...@chromium.org on 27 Jan 2014 at 7:45
Original issue reported on code.google.com by
apav...@chromium.org
on 27 Jan 2014 at 7:45