diegoles / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

Doc Generator doesn't like the ternary operator #564

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Go to 
http://docs.closure-library.googlecode.com/git/namespace_goog_array.html#goog.ar
ray.forEach
2.  Notice that the signature for goog.array.forEach is presented as:  
goog.array.forEach(arr, arr, arr, f, f, f, opt_obj, opt_obj, opt_obj)

What is the expected output? What do you see instead?
The right signature.  See above.

Please provide any additional information below.

It looks like any function defined like this:

goog.array.forEach = goog.NATIVE_ARRAY_PROTOTYPES &&
                     goog.array.ARRAY_PROTOTYPE_.forEach ?
    function(arr, f, opt_obj) { /* ... */ };

gets documented as above.

Original issue reported on code.google.com by JayYoung...@gmail.com on 31 May 2013 at 9:52

GoogleCodeExporter commented 8 years ago
Issue 534 has been merged into this issue.

Original comment by pall...@google.com on 30 Jul 2013 at 7:56

GoogleCodeExporter commented 8 years ago
Issue 616 has been merged into this issue.

Original comment by Nicholas.J.Santos on 17 Dec 2013 at 2:37

GoogleCodeExporter commented 8 years ago

Original comment by nn...@google.com on 21 Apr 2014 at 7:47