Skip to content

Commit 9e4dc75

Browse files
jsorefCommit Queue
authored andcommitted
Spelling pkg
Closes #50921 GitOrigin-RevId: 6b1ca50 Change-Id: I74e4ff3c8e759c576036d6b791bd7734ebd215d8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278536 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
1 parent e6b89b2 commit 9e4dc75

File tree

65 files changed

+87
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+87
-87
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ them, you must set the lower bound on the SDK constraint for your package to
10581058
removed (they were previously deprecated). Please use the corresponding
10591059
`lowerCamelCase` constants instead.
10601060
- **Breaking Change** [#48513](https://github.com/dart-lang/sdk/issues/48513):
1061-
Add a new `allowLegacyUnsafeRenegotiation` poperty to `SecurityContext`,
1061+
Add a new `allowLegacyUnsafeRenegotiation` property to `SecurityContext`,
10621062
which allows TLS renegotiation for client secure sockets.
10631063
- Add a optional `keyLog` parameter to `SecureSocket.connect` and
10641064
`SecureSocket.startConnect`.

benchmarks/TypedDataPoly/dart/TypedDataPoly.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Monomorphic extends Base {
6262
: data1 = Uint8List(n)..setToOnes(),
6363
super('TypedDataPoly.mono.array', n);
6464

65-
/// An identical [sum] method appears in each benchmark so the the compiler
65+
/// An identical [sum] method appears in each benchmark so the compiler
6666
/// can specialize the method according to different sets of input
6767
/// implementation types.
6868
@pragma('vm:never-inline')
@@ -94,7 +94,7 @@ class Monomorphic extends Base {
9494
}
9595

9696
/// [Baseline] is modelled after [Monomorphic], but does almost no work in
97-
/// `sum`. This measures the the cost of benchmark code outside of `sum`.
97+
/// `sum`. This measures the cost of benchmark code outside of `sum`.
9898
class Baseline extends Base {
9999
final Uint8List data1;
100100
Baseline(int n)

pkg/analysis_server/test/client/completion_driver_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ name: test
199199
return false;
200200
}
201201
// Library URIs are not available in protocol v1 so skip the check to
202-
// allow the the same test to verify for v2.
202+
// allow the same test to verify for v2.
203203
if (!isProtocolVersion1 &&
204204
libraryUri != null &&
205205
s.libraryUri != libraryUri) {

pkg/analysis_server/tool/lsp_spec/meta_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class LiteralType extends TypeBase with LiteralValueMixin {
120120
/// A special class of Union types where the values are all literals of the same
121121
/// type.
122122
///
123-
/// This allows the Dart field for this type to be the the common base type
123+
/// This allows the Dart field for this type to be the common base type
124124
/// rather than an EitherX<>.
125125
class LiteralUnionType extends UnionType {
126126
final List<LiteralType> literalTypes;

pkg/compiler/doc/pragmas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ caller can create more opportunities for optimization, for example, it becomes
7373
possible to recognize and remove repeated operations.
7474

7575
The compiler automatically makes a decision whether or not to inline a function
76-
or method based on heuristics. One heuristic is to inline if the the inlined
76+
or method based on heuristics. One heuristic is to inline if the inlined
7777
code is likely to be smaller that the call, as this results in a smaller _and_
7878
faster program. Another heuristic is to inline even if the code is likely to be
7979
slightly larger when the call is in a loop, as loops here is a chance that some

pkg/compiler/lib/src/deferred_load/entity_data_info.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class EntityDataInfoBuilder {
107107

108108
/// Collects all direct dependencies of [element].
109109
///
110-
/// The collected dependent elements and constants are are added to
110+
/// The collected dependent elements and constants are added to
111111
/// [elements] and [constants] respectively.
112112
void addDirectMemberDependencies(MemberEntity element) {
113113
// TODO(sigurdm): We want to be more specific about this - need a better

pkg/compiler/lib/src/js_backend/minify_namer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class MinifyNamer extends Namer
229229
// Try other n-character names based on the hash. We try one to three
230230
// character identifiers. For each length we try around 10 different names
231231
// in a predictable order determined by the proposed name. This is in order
232-
// to make the renamer stable: small changes in the input should nornally
232+
// to make the renamer stable: small changes in the input should normally
233233
// result in relatively small changes in the output.
234234
for (int n = 1; n <= 3; n++) {
235235
int h = hash;

pkg/compiler/lib/src/js_emitter/model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ class InstanceMethod extends DartMethod {
470470
/// `true` if the tear-off needs to access methods directly rather than rely
471471
/// on JavaScript prototype lookup. This happens when a tear-off getter is
472472
/// called via `super.method` and there is a shadowing definition of `method`
473-
/// in some sublcass.
473+
/// in some subclass.
474474
// TODO(sra): Consider instead having an alias per stub, creating tear-off
475475
// trampolines that target the stubs.
476476
final bool tearOffNeedsDirectAccess;

pkg/compiler/lib/src/ssa/optimize.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ class SsaInstructionSimplifier extends HBaseVisitor<HInstruction>
15231523
// We don't expect a non-integer first input to the fixed-size allocation,
15241524
// but checking the input is an integer ensures we do not replace a
15251525
// HGetlength with a reference to something with a type that will confuse
1526-
// bounds check eliminiation.
1526+
// bounds check elimination.
15271527
if (lengthInput.isInteger(_abstractValueDomain).isDefinitelyTrue) {
15281528
// TODO(sra). HGetLength may have a better type than [lengthInput] as
15291529
// the allocation may throw on an out-of-range input. Typically the

pkg/compiler/test/end_to_end/modular_loader_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ main() {
6969
});
7070
}
7171

72-
/// Generate a component for a modular complation unit.
72+
/// Generate a component for a modular compilation unit.
7373
Future<List<int>> compileUnit(List<String> inputs, Map<String, dynamic> sources,
7474
{List<String> deps = const []}) async {
7575
var fs = MemoryFileSystem(_defaultDir);

0 commit comments

Comments
 (0)