Closed
Description
What steps will reproduce the problem? I imported "math/Rand" instead of "math/rand". http://play.golang.org/p/ryDFKo0Lt6 reproduces the problem (but the problem is not reproduced in the playground) What is the expected output? The compiler error as seen in the playground "prog.go:4: can't find import: "math/Rand" " What do you see instead? The code successfully compiles and runs (without any issue) on the exact code in the playground. On a more complicated code (which is too long to produce here, and I don't know what a representative short version is), I get "pack" errors of the form pack: non-object file $WORK\math\rand\_obj\_go_.6 and/or pack: zero length file $WORK\math\rand\_obj\_go_.6 Which compiler are you using (5g, 6g, 8g, gccgo)? gc Which operating system are you using? Windows 7 Professional, 64 bit Which version are you using? (run 'go version') 1.0.3 Please provide any additional information below. https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/du5ePG0z1eY for more information