LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/
File Upload :
Command :
Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/vendor_issue12156.txt

# Tests issue #12156, a former index out of range panic.

env GO111MODULE=off
env GOPATH=$WORK/gopath/src/testvendor2 # vendor/x is directly in $GOPATH, not in $GOPATH/src
cd $WORK/gopath/src/testvendor2/src/p

! go build p.go
! stderr panic # Make sure it doesn't panic
stderr 'cannot find package "x"'

-- testvendor2/src/p/p.go --
package p

import "x"
-- testvendor2/vendor/x/x.go --
package x

LittleDemon - FACEBOOK
[ KELUAR ]