import.cc
29.8 KB
-
compiler: remove "DIR/../" when joining relative import path · 6916d610
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. Reviewed-on: https://go-review.googlesource.com/45691 From-SVN: r249194
Ian Lance Taylor committed