blob: 34205aa82193ae61965d9c5e3b3e371997f1c231 [file] [log] [blame]
// Copyright (c) 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// +build go1.6
package lint
import "go/types"
// This is in its own file so it can be ignored under Go 1.5.
func (i importer) ImportFrom(path, srcDir string, mode types.ImportMode) (*types.Package, error) {
return i.impFn(i.packages, path, srcDir)