Per discussion earlier today with r and gri: when an interface
object has a value of type "int", it should not automatically convert to type "int32". That is, the type alias "int" should be regarded as having been defined as though "type int int32" appeared outside of the package, and as therefore being a different type from "int32". R=ken DELTA=21 (20 added, 0 deleted, 1 changed) OCL=17587 CL=17842
Showing
test/bugs/bug113.go
0 → 100644
Please
register
or
sign in
to comment