(*build.Context).Import has signature of
(ctx, importPath, fromDir, mode)
not
(ctx, fromDir, importPath, mode)
and the loader actually uses the first version.
The thinko was introduced in
|
||
---|---|---|
.. | ||
ast/astutil | ||
buildutil | ||
callgraph | ||
gccgoexportdata | ||
gcexportdata | ||
gcimporter15 | ||
internal/gccgoimporter | ||
loader | ||
pointer | ||
ssa | ||
types/typeutil | ||
vcs |