Remove CONTENT_MODIFIED from spec/test for getSignature
Change-Id: I5d071df8dd02052cff1ba9b414cec62ab34f6bf6 Reviewed-on: https://dart-review.googlesource.com/67342 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Danny Tuppeny <dantup@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
c4c847a45c
commit
fe8052428b
@@ -147,16 +147,15 @@ public interface AnalysisServer {
|
||||
* Return the signature information associated with the given location in the given file. If the
|
||||
* signature information for the given file has not yet been computed, or the most recently
|
||||
* computed signature information for the given file is out of date, then the response for this
|
||||
* request will be delayed until it has been computed. If the content of the file changes after
|
||||
* this request was received but before a response could be sent, then an error of type
|
||||
* CONTENT_MODIFIED will be generated. If a request is made for a file which does not exist, or
|
||||
* which is not currently subject to analysis (e.g. because it is not associated with any analysis
|
||||
* root specified to analysis.setAnalysisRoots), an error of type GET_SIGNATURE_INVALID_FILE will
|
||||
* be generated. If the location given is not inside the argument list for a function (including
|
||||
* method and constructor) invocation, then an error of type GET_SIGNATURE_INVALID_OFFSET will be
|
||||
* generated. If the location is inside an argument list but the function is not defined or cannot
|
||||
* be determined (such as a method invocation where the target has type 'dynamic') then an error of
|
||||
* type GET_SIGNATURE_UNKNOWN_FUNCTION will be generated.
|
||||
* request will be delayed until it has been computed. If a request is made for a file which does
|
||||
* not exist, or which is not currently subject to analysis (e.g. because it is not associated with
|
||||
* any analysis root specified to analysis.setAnalysisRoots), an error of type
|
||||
* GET_SIGNATURE_INVALID_FILE will be generated. If the location given is not inside the argument
|
||||
* list for a function (including method and constructor) invocation, then an error of type
|
||||
* GET_SIGNATURE_INVALID_OFFSET will be generated. If the location is inside an argument list but
|
||||
* the function is not defined or cannot be determined (such as a method invocation where the
|
||||
* target has type 'dynamic') then an error of type GET_SIGNATURE_UNKNOWN_FUNCTION will be
|
||||
* generated.
|
||||
*
|
||||
* @param file The file in which signature information is being requested.
|
||||
* @param offset The location for which signature information is being requested.
|
||||
|
||||
Reference in New Issue
Block a user