aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/exp/types/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/exp/types/const.go')
-rw-r--r--libgo/go/exp/types/const.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/exp/types/const.go b/libgo/go/exp/types/const.go
index 1ef95d9..048f63b 100644
--- a/libgo/go/exp/types/const.go
+++ b/libgo/go/exp/types/const.go
@@ -7,8 +7,8 @@
package types
import (
- "big"
"go/token"
+ "math/big"
"strconv"
)
@@ -131,7 +131,7 @@ func (x Const) Match(y Const) (u, v Const) {
// otherwise the result is invalid.
func (x Const) Convert(typ *Type) Const {
// TODO(gri) implement this
- switch x := x.val.(type) {
+ switch x.val.(type) {
case bool:
case *big.Int:
case *big.Rat: