diff --git a/doc/go1compat.html b/doc/go1compat.html index 3804634f5da..1dfd382c238 100644 --- a/doc/go1compat.html +++ b/doc/go1compat.html @@ -94,6 +94,15 @@ We therefore recommend that composite literals whose type is defined in a separate package should use the tagged notation. +
import . "path"
, additional names defined in the
+imported package in future releases may conflict with other names
+defined in the program. We do not recommend the use of import .
+outside of tests, and using it may cause a program to fail
+to compile in future releases.
+