Commit 25f15d5f authored by Ian Lance Taylor's avatar Ian Lance Taylor

doc: add note about import . to Go 1 compatibility notes

R=r
CC=golang-dev
https://golang.org/cl/5752065
parent 502e29f4
......@@ -94,6 +94,15 @@ We therefore recommend that composite literals whose type is defined
in a separate package should use the tagged notation.
</li>
<li>
Dot imports. If a program imports a standard package
using <code>import . "path"</code>, 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 <code>import .</code>
outside of tests, and using it may cause a program to fail
to compile in future releases.
</li>
</ul>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment