Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(306)

Delta Between Two Patch Sets: src/cmd/api/goapi.go

Issue 12300043: code review 12300043: cmd/api: rewrite using go/types (Closed)
Left Patch Set: diff -r c6b37ee14a9f https://code.google.com/p/go Created 11 years, 7 months ago
Right Patch Set: diff -r f53cee5f15de https://code.google.com/p/go Created 11 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/api/clone.go ('k') | src/cmd/api/goapi_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // +build api_tool 1 // +build api_tool
2 2
3 // Copyright 2011 The Go Authors. All rights reserved. 3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file. 5 // license that can be found in the LICENSE file.
6 6
7 // Binary api computes the exported API of a set of Go packages. 7 // Binary api computes the exported API of a set of Go packages.
8 package main 8 package main
9 9
10 import ( 10 import (
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 783
784 if _, dup := w.features[f]; dup { 784 if _, dup := w.features[f]; dup {
785 panic("duplicate feature inserted: " + f) 785 panic("duplicate feature inserted: " + f)
786 } 786 }
787 w.features[f] = true 787 w.features[f] = true
788 788
789 if *verbose { 789 if *verbose {
790 log.Printf("feature: %s", f) 790 log.Printf("feature: %s", f)
791 } 791 }
792 } 792 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b