Home | History | Annotate | Download | only in testdata

Lines Matching refs:type

2 	Parenthesized type switch expressions originally
6 Only type-switches that didn't declare a variable
7 in the type switch type assertion and which
9 cases were permitted to have their type assertion parenthesized
12 type switch header or in the case.
20 switch x.(type) { // should remain the same
22 switch (x.(type)) { // should become: switch x.(type) {
25 switch x.(type) { // should remain the same
28 switch (x.(type)) { // should become: switch x.(type) {
32 switch x.(type) { // should remain the same
36 // Parenthesized (x.(type)) in type switches containing cases
41 switch (x.(type)) {
46 switch t := x.(type) { // should remain the same
51 // Parenthesized (x.(type)) in type switches declaring a variable
55 switch t := (x.(type)) {