From e59751ce565608e0ab41f291c1916b98e562276a Mon Sep 17 00:00:00 2001 From: Kamil Kisiel Date: Thu, 7 Nov 2013 16:47:35 -0500 Subject: [PATCH] oracle: Fix documentation references to importer package functions. R=golang-dev, adonovan CC=golang-dev https://golang.org/cl/21230043 --- oracle/oracle.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oracle/oracle.go b/oracle/oracle.go index 26f8442b..dbe7fedc 100644 --- a/oracle/oracle.go +++ b/oracle/oracle.go @@ -138,7 +138,7 @@ func (res *Result) Serial() *serial.Result { // Query runs a single oracle query. // -// args specify the main package in importer.CreatePackageFromArgs syntax. +// args specify the main package in importer.LoadInitialPackages syntax. // mode is the query mode ("callers", etc). // ptalog is the (optional) pointer-analysis log file. // buildContext is the go/build configuration for locating packages. @@ -207,7 +207,7 @@ func Query(args []string, mode, pos string, ptalog io.Writer, buildContext *buil // imp will be used to load source code for imported packages. // It must not yet have loaded any packages. // -// args specify the main package in importer.CreatePackageFromArgs syntax. +// args specify the main package in importer.LoadInitialPackages syntax. // // ptalog is the (optional) pointer-analysis log file. // reflection determines whether to model reflection soundly (currently slow).