Descriptiongo/doc: revert API change (per former discussion) and cleanup
Separating Method from Func made the code only more complicated
without adding much to the useability/readability of the API.
Reverted to where it was, but leaving the new method-specific
fields Orig and Level.
Former clients (godoc) of doc.Method only used the Func fields;
and because Func was embedded, no changes are needed with respect
to the removal of Method.
Changed type of Func.Recv from ast.Expr to string. This was a
long-standing TODO. Also implemented Func.Orig field (another TODO).
No further go/doc API changes are expected for Go 1.
Patch Set 1 #Patch Set 2 : diff -r 86434e8b59c5 https://code.google.com/p/go #Patch Set 3 : diff -r 602b75a41065 https://code.google.com/p/go #Patch Set 4 : diff -r 602b75a41065 https://code.google.com/p/go #
Total comments: 4
Patch Set 5 : diff -r 602b75a41065 https://code.google.com/p/go #Patch Set 6 : diff -r 5a090946b7d2 https://code.google.com/p/go #Patch Set 7 : diff -r 7de66de3961c https://code.google.com/p/go #
MessagesTotal messages: 7
|