blob: d1b8c23d0d90ee4febac2394bf1bc2a8775dddab [file] [log] [blame]
package a
import "fmt"
func TypeStuff() { //@Stuff
var x string
switch y := interface{}(x).(type) { //@mark(switchY, "y"),mark(switchStringY,"y"),godef("y", switchY)
case int:
fmt.Printf("%v", y) //@godef("y", switchY)
case string:
fmt.Printf("%v", y) //@godef("y", switchStringY)
}
}