@@ -808,7 +808,7 @@ CompileTimeErrorCode:
808808 }
809809 ```
810810 ASSIGNMENT_TO_FINAL_NO_SETTER:
811- problemMessage: "There isn’ t a setter named '{0}' in class '{1}'."
811+ problemMessage: "There isn' t a setter named '{0}' in class '{1}'."
812812 correctionMessage: Try correcting the name to reference an existing setter, or declare the setter.
813813 hasPublishedDocs: true
814814 comment: |-
@@ -1262,7 +1262,7 @@ CompileTimeErrorCode:
12621262
12631263 The analyzer produces this diagnostic when the name used in the declaration
12641264 of a class, extension, mixin, typedef, type parameter, or import prefix is
1265- a built-in identifier. Built-in identifiers can’ t be used to name any of
1265+ a built-in identifier. Built-in identifiers can' t be used to name any of
12661266 these kinds of declarations.
12671267
12681268 #### Example
@@ -5652,7 +5652,7 @@ CompileTimeErrorCode:
56525652 the name doesn't shadow the imported name.
56535653
56545654 If the name is the name of an existing class or mixin that isn't being
5655- imported, then add an import, with a prefix, for the library in which it’ s
5655+ imported, then add an import, with a prefix, for the library in which it' s
56565656 declared.
56575657
56585658 Otherwise, either replace the name in the `implements` clause with the name
@@ -6284,7 +6284,7 @@ CompileTimeErrorCode:
62846284 #### Example
62856285
62866286 The following code produces this diagnostic because `zero` is a static
6287- field, but it’ s being accessed as if it were an instance field:
6287+ field, but it' s being accessed as if it were an instance field:
62886288
62896289 ```dart
62906290 void f(C c) {
@@ -6492,7 +6492,7 @@ CompileTimeErrorCode:
64926492
64936493 The analyzer produces this diagnostic when a constructor invocation is
64946494 found where the type being instantiated is a type alias for one of the type
6495- parameters of the type alias. This isn’ t allowed because the value of the
6495+ parameters of the type alias. This isn' t allowed because the value of the
64966496 type parameter is a type rather than a class.
64976497
64986498 #### Example
@@ -6806,7 +6806,7 @@ CompileTimeErrorCode:
68066806 String s = i.toString();
68076807 ```
68086808
6809- If you can’ t change the value, then change the type of the variable to be
6809+ If you can' t change the value, then change the type of the variable to be
68106810 compatible with the type of the value being assigned:
68116811
68126812 ```dart
@@ -8269,7 +8269,7 @@ CompileTimeErrorCode:
82698269 #### Description
82708270
82718271 The analyzer produces this diagnostic when either the Dart or Flutter SDK
8272- isn’ t installed correctly, and, as a result, one of the `dart:` libraries
8272+ isn' t installed correctly, and, as a result, one of the `dart:` libraries
82738273 can't be found.
82748274
82758275 #### Common fixes
@@ -8911,7 +8911,7 @@ CompileTimeErrorCode:
89118911 #### Example
89128912
89138913 The following code produces this diagnostic because the initializer list
8914- for `B`’ s constructor invokes both the constructor `one` and the
8914+ for `B`' s constructor invokes both the constructor `one` and the
89158915 constructor `two` from the superclass `A`:
89168916
89178917 ```dart
@@ -9012,7 +9012,7 @@ CompileTimeErrorCode:
90129012 #### Description
90139013
90149014 The analyzer produces this diagnostic when an unnamed constructor is
9015- invoked on a class that defines named constructors but the class doesn’ t
9015+ invoked on a class that defines named constructors but the class doesn' t
90169016 have an unnamed constructor.
90179017
90189018 #### Example
@@ -10176,7 +10176,7 @@ CompileTimeErrorCode:
1017610176 }
1017710177 ```
1017810178
10179- If `null` isn’ t a valid value, and there's a reasonable default value, then
10179+ If `null` isn' t a valid value, and there's a reasonable default value, then
1018010180 add an initializer:
1018110181
1018210182 ```dart
@@ -10381,7 +10381,7 @@ CompileTimeErrorCode:
1038110381
1038210382 #### Common fixes
1038310383
10384- If there's a reasonable default value for the field that’ s the same for all
10384+ If there's a reasonable default value for the field that' s the same for all
1038510385 instances, then add an initializer expression:
1038610386
1038710387 ```dart
@@ -12099,7 +12099,7 @@ CompileTimeErrorCode:
1209912099
1210012100 The analyzer produces this diagnostic when a redirecting factory
1210112101 constructor redirects to a type alias, and the type alias expands to one of
12102- the type parameters of the type alias. This isn’ t allowed because the value
12102+ the type parameters of the type alias. This isn' t allowed because the value
1210312103 of the type parameter is a type rather than a class.
1210412104
1210512105 #### Example
@@ -12141,7 +12141,7 @@ CompileTimeErrorCode:
1214112141 #### Description
1214212142
1214312143 The analyzer produces this diagnostic when a variable is referenced before
12144- it’ s declared. In Dart, variables are visible everywhere in the block in
12144+ it' s declared. In Dart, variables are visible everywhere in the block in
1214512145 which they are declared, but can only be referenced after they are
1214612146 declared.
1214712147
@@ -13548,7 +13548,7 @@ CompileTimeErrorCode:
1354813548 }
1354913549 ```
1355013550
13551- Note, however, that there isn’ t a relationship between `T` and `S`, so this
13551+ Note, however, that there isn' t a relationship between `T` and `S`, so this
1355213552 second option changes the semantics from what was likely to be intended.
1355313553 TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND:
1355413554 problemMessage: "'{0}' can't be a supertype of its upper bound."
@@ -13822,7 +13822,7 @@ CompileTimeErrorCode:
1382213822
1382313823 #### Common fixes
1382413824
13825- If the name is correct, but it isn’ t declared yet, then declare the name as
13825+ If the name is correct, but it isn' t declared yet, then declare the name as
1382613826 a constant value:
1382713827
1382813828 ```dart
@@ -14865,7 +14865,7 @@ CompileTimeErrorCode:
1486514865 #### Description
1486614866
1486714867 The analyzer produces this diagnostic when an inherited member (method,
14868- getter, setter, or operator) is referenced using `super`, but there’ s no
14868+ getter, setter, or operator) is referenced using `super`, but there' s no
1486914869 member with that name in the superclass chain.
1487014870
1487114871 #### Examples
@@ -14900,7 +14900,7 @@ CompileTimeErrorCode:
1490014900 If the member you intend to invoke is defined in the same class, then
1490114901 remove the `super.`.
1490214902
14903- If the member isn’ t defined, then either add the member to one of the
14903+ If the member isn' t defined, then either add the member to one of the
1490414904 superclasses or remove the invocation.
1490514905 UNDEFINED_SUPER_OPERATOR:
1490614906 sharedName: UNDEFINED_SUPER_MEMBER
@@ -15106,7 +15106,7 @@ CompileTimeErrorCode:
1510615106 The analyzer produces this diagnostic when the string literal in an
1510715107 `import`, `export`, or `part` directive contains an interpolation. The
1510815108 resolution of the URIs in directives must happen before the declarations
15109- are compiled, so expressions can’ t be evaluated while determining the
15109+ are compiled, so expressions can' t be evaluated while determining the
1511015110 values of the URIs.
1511115111
1511215112 #### Example
@@ -15130,7 +15130,7 @@ CompileTimeErrorCode:
1513015130 var zero = min(0, 0);
1513115131 ```
1513215132 USE_OF_NATIVE_EXTENSION:
15133- problemMessage: Dart native extensions are deprecated and aren’ t available in Dart 2.15.
15133+ problemMessage: Dart native extensions are deprecated and aren' t available in Dart 2.15.
1513415134 correctionMessage: "Try using dart:ffi for C interop."
1513515135 hasPublishedDocs: true
1513615136 comment: No parameters.
@@ -17717,7 +17717,7 @@ HintCode:
1771717717 #### Description
1771817718
1771917719 The analyzer produces this diagnostic when a `catch` clause is found that
17720- can't be executed because it’ s after a `catch` clause of the form
17720+ can't be executed because it' s after a `catch` clause of the form
1772117721 `catch (e)` or `on Object catch (e)`. The first `catch` clause that matches
1772217722 the thrown object is selected, and both of those forms will match any
1772317723 object, so no `catch` clauses that follow them will be selected.
@@ -17759,7 +17759,7 @@ HintCode:
1775917759 }
1776017760 ```
1776117761 DEAD_CODE_ON_CATCH_SUBTYPE:
17762- problemMessage: "Dead code: This on-catch block won’ t be executed because '{0}' is a subtype of '{1}' and hence will have been caught already."
17762+ problemMessage: "Dead code: This on-catch block won' t be executed because '{0}' is a subtype of '{1}' and hence will have been caught already."
1776317763 correctionMessage: Try reordering the catch clauses so that this block can be reached, or removing the unreachable catch clause.
1776417764 hasPublishedDocs: true
1776517765 comment: |-
@@ -18133,7 +18133,7 @@ HintCode:
1813318133
1813418134 The analyzer produces this diagnostic when an import directive is found
1813518135 that is the same as an import before it in the file. The second import
18136- doesn’ t add value and should be removed.
18136+ doesn' t add value and should be removed.
1813718137
1813818138 #### Example
1813918139
@@ -19933,7 +19933,7 @@ HintCode:
1993319933 #### Description
1993419934
1993519935 The analyzer produces this diagnostic when a class member is annotated with
19936- the `@override` annotation, but the member isn’ t declared in any of the
19936+ the `@override` annotation, but the member isn' t declared in any of the
1993719937 supertypes of the class.
1993819938
1993919939 #### Example
@@ -21725,7 +21725,7 @@ HintCode:
2172521725 0: the name of the annotated method, property or function
2172621726 1: message details
2172721727 UNUSED_SHOWN_NAME:
21728- problemMessage: "The name {0} is shown, but isn’ t used."
21728+ problemMessage: "The name {0} is shown, but isn' t used."
2172921729 correctionMessage: Try removing the name from the list of shown members.
2173021730 hasPublishedDocs: true
2173121731 comment: |-
0 commit comments