@@ -2668,7 +2668,7 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
26682668 /// Verify all conflicts between type variable and enclosing extension.
26692669 ///
26702670 /// See [CompileTimeErrorCode.CONFLICTING_TYPE_VARIABLE_AND_EXTENSION] , and
2671- /// [CompileTimeErrorCode.CONFLICTING_TYPE_VARIABLE_AND_EXTENSION_MEMBER ] .
2671+ /// [CompileTimeErrorCode.CONFLICTING_TYPE_VARIABLE_AND_MEMBER_EXTENSION ] .
26722672 void _checkForConflictingExtensionTypeVariableErrorCodes () {
26732673 for (TypeParameterElement typeParameter
26742674 in _enclosingExtension! .typeParameters) {
@@ -3346,7 +3346,8 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
33463346 );
33473347 }
33483348
3349- /// Verify that the given extends [clause] does not extend a deferred class.
3349+ /// Verifies that the given [superclass] , found in an extends-clause, is not a
3350+ /// deferred class.
33503351 ///
33513352 /// See [CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS] .
33523353 void _checkForExtendsDeferredClass (NamedType ? superclass) {
@@ -3357,8 +3358,8 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
33573358 superclass, CompileTimeErrorCode .EXTENDS_DEFERRED_CLASS );
33583359 }
33593360
3360- /// Verify that the given extends [clause] does not extend classes such as
3361- /// 'num' or 'String'.
3361+ /// Verifies that the given [superclass] , found in an extends-clause, is not a
3362+ /// class such as 'num' or 'String'.
33623363 ///
33633364 /// See [CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS] .
33643365 bool _checkForExtendsDisallowedClass (NamedType ? superclass) {
@@ -3373,8 +3374,6 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
33733374 /// classes that are deferred.
33743375 ///
33753376 /// See [_checkForExtendsDeferredClass] ,
3376- /// [_checkForExtendsDeferredClassInTypeAlias] ,
3377- /// [_checkForImplementsDeferredClass] ,
33783377 /// [_checkForAllMixinErrorCodes] ,
33793378 /// [CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS] ,
33803379 /// [CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS] , and
@@ -3663,7 +3662,7 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
36633662
36643663 /// If there are no constructors in the given [members] , verify that all
36653664 /// final fields are initialized. Cases in which there is at least one
3666- /// constructor are handled in [_checkForAllFinalInitializedErrorCodes ] .
3665+ /// constructor are handled in [_checkForFinalNotInitialized ] .
36673666 ///
36683667 /// See [CompileTimeErrorCode.CONST_NOT_INITIALIZED] , and
36693668 /// [CompileTimeErrorCode.FINAL_NOT_INITIALIZED] .
@@ -5394,7 +5393,7 @@ class ErrorVerifier extends RecursiveAstVisitor<void>
53945393 }
53955394
53965395 /// Verify that the given [element] does not reference itself directly.
5397- /// If it does, report the error on the [node ] .
5396+ /// If it does, report the error on the [nameToken ] .
53985397 ///
53995398 /// See [CompileTimeErrorCode.TYPE_ALIAS_CANNOT_REFERENCE_ITSELF] .
54005399 void _checkForTypeAliasCannotReferenceItself (
0 commit comments