mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:27:39 +00:00
Replace 'the the' with 'the'
R=kmillikin@google.com BUG= Review-Url: https://codereview.chromium.org/2830353002 .
This commit is contained in:
parent
39be6c2d72
commit
6617737ff5
|
@ -695,7 +695,7 @@ class AnalysisDriver implements AnalysisDriverGeneric {
|
|||
*
|
||||
* The signature is based the APIs of the files of the library (including
|
||||
* the file itself) of the requested file and the transitive closure of files
|
||||
* imported and exported by the the library.
|
||||
* imported and exported by the library.
|
||||
*/
|
||||
Future<String> getUnitElementSignature(String path) {
|
||||
if (!_fsState.hasUri(path)) {
|
||||
|
@ -1619,7 +1619,7 @@ class AnalysisResult {
|
|||
|
||||
/**
|
||||
* The signature of the result based on the content of the file, and the
|
||||
* transitive closure of files imported and exported by the the library of
|
||||
* transitive closure of files imported and exported by the library of
|
||||
* the requested file.
|
||||
*/
|
||||
final String _signature;
|
||||
|
@ -1884,7 +1884,7 @@ class UnitElementResult {
|
|||
/**
|
||||
* The signature of the [element] is based the APIs of the files of the
|
||||
* library (including the file itself) of the requested file and the
|
||||
* transitive closure of files imported and exported by the the library.
|
||||
* transitive closure of files imported and exported by the library.
|
||||
*/
|
||||
final String signature;
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ abstract class AbstractParserTestCase implements ParserTestHelpers {
|
|||
|
||||
/**
|
||||
* Assert that the number and codes of errors occurred during parsing is the
|
||||
* same the the [expectedErrorCodes].
|
||||
* same as the [expectedErrorCodes].
|
||||
*/
|
||||
void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes);
|
||||
|
||||
|
|
|
@ -440,7 +440,7 @@ class JsArray<E> extends JsObject with ListMixin<E> {
|
|||
}
|
||||
|
||||
// Cross frame objects should not be considered browser types.
|
||||
// We include the the instanceof Object test to filter out cross frame objects
|
||||
// We include the instanceof Object test to filter out cross frame objects
|
||||
// on FireFox. Surprisingly on FireFox the instanceof Window test succeeds for
|
||||
// cross frame windows while the instanceof Object test fails.
|
||||
bool _isBrowserType(o) => JS(
|
||||
|
|
|
@ -37,7 +37,7 @@ abstract class Loader<L> {
|
|||
|
||||
Ticker get ticker => target.ticker;
|
||||
|
||||
/// Look up a library builder by the the name [uri], or if such doesn't
|
||||
/// Look up a library builder by the name [uri], or if such doesn't
|
||||
/// exist, create one. The canonical URI of the library is [uri], and its
|
||||
/// actual location is [fileUri].
|
||||
///
|
||||
|
|
|
@ -457,7 +457,7 @@ class ExpressionLifter extends Transformer {
|
|||
//
|
||||
// So x is in scope for all the body's statements and the body's value.
|
||||
// This has the unpleasant consequence that all let-bound variables with
|
||||
// await in the let's body will end up hoisted out the the expression and
|
||||
// await in the let's body will end up hoisted out of the expression and
|
||||
// allocated to the context in the VM, even if they have no uses
|
||||
// (`let _ = e0 in e1` can be used for sequencing of `e0` and `e1`).
|
||||
statements.add(variable);
|
||||
|
|
|
@ -429,7 +429,7 @@ class Intersection extends ReifiedType {
|
|||
/// class Box<T> {}
|
||||
///
|
||||
/// Defines one type variable. In the type `Box<int>`, there are no type
|
||||
/// variables. However, `int` is a type argument to the the type
|
||||
/// variables. However, `int` is a type argument to the type
|
||||
/// parameter/variable `T`.
|
||||
class TypeVariable extends ReifiedType {
|
||||
final int _id;
|
||||
|
|
|
@ -150,7 +150,7 @@ abstract class ChainContext {
|
|||
/// asynchronous.
|
||||
///
|
||||
/// If a step is asynchrouns the future returned from this function will
|
||||
/// complete after the the first asynchronous step is scheduled. This
|
||||
/// complete after the first asynchronous step is scheduled. This
|
||||
/// allows us to start processing the next test while an external process
|
||||
/// completes as steps can be interleaved. To ensure all steps are
|
||||
/// completed, wait for [futures].
|
||||
|
|
|
@ -4240,7 +4240,7 @@ void Debugger::RemoveBreakpoint(intptr_t bp_id) {
|
|||
}
|
||||
|
||||
|
||||
// Unlink code breakpoints from the the given breakpoint location.
|
||||
// Unlink code breakpoints from the given breakpoint location.
|
||||
// They will later be deleted when control returns from the pause event
|
||||
// callback. Also, disable the breakpoint so it no longer fires if it
|
||||
// should be hit before it gets deleted.
|
||||
|
|
|
@ -94,7 +94,7 @@ class VirtualMemory {
|
|||
static uword page_size_;
|
||||
|
||||
// False for a part of a snapshot added directly to the Dart heap, which
|
||||
// belongs to the the embedder and must not be deallocated or have its
|
||||
// belongs to the embedder and must not be deallocated or have its
|
||||
// protection status changed by the VM.
|
||||
bool vm_owns_region_;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ self.nativeConstructor(A);
|
|||
""";
|
||||
|
||||
class B {
|
||||
// We need to define a foo method so that dart2js sees it. Because the the
|
||||
// We need to define a foo method so that dart2js sees it. Because the
|
||||
// only occurences of 'foo' is on B, a Dart class, no interceptor is used. It
|
||||
// thinks all calls will either go to this method, or throw a
|
||||
// NoSuchMethodError. It is possible that the native class will shadow a
|
||||
|
|
Loading…
Reference in a new issue