From ccab2fbc30b0553fce54646a4da0a8645eda40a3 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 1 Sep 2022 18:47:57 -0700 Subject: [PATCH] internal/types: add a test for empty string import path Follow-up on comment in CL 427154. Change-Id: Ib44a8e9b9129d68b794f91788c9b8c971d6c5436 Reviewed-on: https://go-review.googlesource.com/c/go/+/427774 TryBot-Result: Gopher Robot Reviewed-by: Robert Findley Reviewed-by: Robert Griesemer Run-TryBot: Robert Griesemer Auto-Submit: Robert Griesemer --- src/internal/types/testdata/fixedbugs/issue43190.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal/types/testdata/fixedbugs/issue43190.go b/src/internal/types/testdata/fixedbugs/issue43190.go index 898ad0b7d0..d1b46b59f2 100644 --- a/src/internal/types/testdata/fixedbugs/issue43190.go +++ b/src/internal/types/testdata/fixedbugs/issue43190.go @@ -8,6 +8,7 @@ package p import ; // ERROR missing import path +import "" // ERROR invalid import path \(empty string\) import var /* ERROR missing import path */ _ int import .; // ERROR missing import path -- 2.48.1