commit | c0840d5826abb713487b2d8a04ab249764b21010 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Jun 13 22:24:20 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Jun 14 13:36:20 2017 +0000 |
tree | 31a3f931a95acda23930126cbfdd897a525deee9 | |
parent | be5fa26b2b1b5d0755bc1c7ce25f3aa26bea9d9c [diff] |
compiler: remove "DIR/../" when joining relative import path Otherwise if DIR does not exist, the path does not work. This matches what the gc cmd/compile tool does, because it calls path.Join. The test for this is the cmd/go tests, to be added in a follow-up CL. Change-Id: I27486f3795fb78a1ada1730c4e375268acf4ff65 Reviewed-on: https://go-review.googlesource.com/45691 Reviewed-by: Than McIntosh <thanm@google.com>