]> Cypherpunks repositories - gostls13.git/commit
special case check for this situation
authorRuss Cox <rsc@golang.org>
Fri, 3 Apr 2009 04:46:19 +0000 (21:46 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 3 Apr 2009 04:46:19 +0000 (21:46 -0700)
commit39436f2a747bc1c64f50c8be46cd9cf801576ba8
tree50e590f70663f83b3cb066487d806eaac1470324
parent07687705a4c2db718a3601d3558807833938dfbf
special case check for this situation

; cat >http.go
package main
import "http"  // intended the library, not this file
^D
; 6g http.go
; 6g http.go
http.go:4: export/package mismatch: init
;

new error:

http.6:7 http.go:3: cannot import package main

R=ken
OCL=27053
CL=27053
src/cmd/gc/go.y