summaryrefslogtreecommitdiff
path: root/src/text
Commit message (Collapse)AuthorAgeFilesLines
* text/template: fix bug in pipelined variadicsRob Pike2014-10-182-1/+13
| | | | | | | | | | | | | | Simple bug in argument processing: The final arg may be the pipeline value, in which case it gets bound to the fixed argument section. The code got that wrong. Easy to fix. Fixes issue 8950. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/161750043
* text/template: type-check chained node as argumentRob Pike2014-09-222-0/+10
| | | | | | | | | | | Was just a missing case (literally) in the type checker. Fixes issue 8473. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/142460043
* text/template: allow comparison functions to work between any integersRob Pike2014-09-223-56/+105
| | | | | | | | | | | | | | | | | | Previously, signed and unsigned integers could not be compared, but this has problems with things like comparing 'x' with a byte in a string. Since signed and unsigned integers have a well-defined ordering, even though their types are different, and since we already allow comparison regardless of the size of the integers, why not allow it regardless of the sign? Integers only, a fine place to draw the line. Fixes issue 7489. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/149780043
* build: move package sources from src/pkg to srcRuss Cox2014-09-0824-0/+9264
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.