LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // This file implements the Check function, which typechecks a package. | 5 // This file implements the Check function, which typechecks a package. |
6 | 6 |
7 package types | 7 package types |
8 | 8 |
9 import ( | 9 import ( |
10 "fmt" | 10 "fmt" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 s = f.obj.Name | 426 s = f.obj.Name |
427 } | 427 } |
428 fmt.Println("---", s) | 428 fmt.Println("---", s) |
429 } | 429 } |
430 check.funcsig = f.sig | 430 check.funcsig = f.sig |
431 check.stmtList(f.body.List) | 431 check.stmtList(f.body.List) |
432 } | 432 } |
433 | 433 |
434 return | 434 return |
435 } | 435 } |
LEFT | RIGHT |