diff options
author | Robert Griesemer <gri@golang.org> | 2013-08-08 14:10:59 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2013-08-08 14:10:59 -0700 |
commit | 9449c18ac8c130df000283d5d533f4cecf6b3afe (patch) | |
tree | e512bd32991359be3b17ff0cdc8e0957c16229b6 /api/go1.1.txt | |
parent | de04bf24e5a9d4a52f0024dd684de21ec4a36340 (diff) | |
download | go-9449c18ac8c130df000283d5d533f4cecf6b3afe.tar.gz go-9449c18ac8c130df000283d5d533f4cecf6b3afe.zip |
cmd/api: rewrite using go/types
- adjusted test files so that they actually type-check
- adjusted go1.txt, go1.1.txt, next.txt
- to run, provide build tag: api_tool
Fixes #4538.
R=bradfitz
CC=golang-dev
https://golang.org/cl/12300043
Diffstat (limited to 'api/go1.1.txt')
-rw-r--r-- | api/go1.1.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/go1.1.txt b/api/go1.1.txt index 0d0b5e3801..2362a75f9b 100644 --- a/api/go1.1.txt +++ b/api/go1.1.txt @@ -92,6 +92,7 @@ pkg encoding/json, method (Number) String() string pkg encoding/json, type Number string pkg encoding/xml, func EscapeText(io.Writer, []uint8) error pkg encoding/xml, method (*Encoder) Indent(string, string) +pkg encoding/xml, method (Encoder) ReadFrom(io.Reader) (int64, error) pkg encoding/xml, type Decoder struct, DefaultSpace string pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap pkg go/ast, method (CommentMap) Comments() []*CommentGroup @@ -1700,6 +1701,7 @@ pkg testing, method (BenchmarkResult) AllocsPerOp() int64 pkg testing, method (BenchmarkResult) MemString() string pkg testing, type BenchmarkResult struct, MemAllocs uint64 pkg testing, type BenchmarkResult struct, MemBytes uint64 +pkg text/template, method (Template) ErrorContext(parse.Node) (string, string) pkg text/template/parse, const NodeChain NodeType pkg text/template/parse, const NodeNil NodeType pkg text/template/parse, method (*ChainNode) Add(string) |