summaryrefslogtreecommitdiff
path: root/usr/gri/pretty/selftest2.go
diff options
context:
space:
mode:
Diffstat (limited to 'usr/gri/pretty/selftest2.go')
-rw-r--r--usr/gri/pretty/selftest2.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/gri/pretty/selftest2.go b/usr/gri/pretty/selftest2.go
index 48fe33cf9..a3de38b1b 100644
--- a/usr/gri/pretty/selftest2.go
+++ b/usr/gri/pretty/selftest2.go
@@ -130,8 +130,9 @@ func f3(a *[]int, m map[string] int) {
type I interface {}
-func f3(x I) int {
- switch tmp := tmp.(type) {
+/*
+func f4(x I) int {
+ switch tmp := x.(type) {
case S: return 1;
}
switch {
@@ -139,7 +140,7 @@ func f3(x I) int {
}
return 0;
}
-
+*/
func main() {
// the prologue