]> Cypherpunks repositories - gostls13.git/commit
Per discussion earlier today with r and gri: when an interface
authorIan Lance Taylor <iant@golang.org>
Sat, 25 Oct 2008 05:40:32 +0000 (22:40 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 25 Oct 2008 05:40:32 +0000 (22:40 -0700)
commit22a6747999cc25291d2cad0481c95b0cf4d71ab8
treec8f2b8a8cc995d57aa35fd0ab639c08548d55c05
parenta785e8ac6d99b22a878599c4ae6988e179bee2a3
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
test/bugs/bug113.go [new file with mode: 0644]
test/golden.out
test/ken/interbasic.go