From 519725bb3c075ee2462c929f5997cb068e18466a Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Mon, 26 Mar 2012 16:50:58 +0200 Subject: Imported Upstream version 2012.03.22 --- doc/go1compat.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/go1compat.html') diff --git a/doc/go1compat.html b/doc/go1compat.html index 3804634f5..1dfd382c2 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. +
  • +Dot imports. If a program imports a standard package +using 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. +
  • +

    -- cgit v1.2.3