Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 020d55c

Browse files
author
Dart CI
committed
Version 2.18.0-29.0.dev
Merge commit '909dbe509dc81eda7553662b26a02dbd55e46362' into 'dev'
2 parents 5896bc4 + 909dbe5 commit 020d55c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pkg/analyzer/lib/src/error/codes.g.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9475,16 +9475,15 @@ class CompileTimeErrorCode extends AnalyzerErrorCode {
94759475
);
94769476

94779477
/**
9478-
* Technically this is [IMPLEMENTS_SUPER_CLASS].
9479-
* See https://github.com/dart-lang/sdk/issues/25765#issuecomment-307422593
9480-
*
94819478
* Parameters:
94829479
* 0: the name of the class that appears in both "extends" and "with" clauses
94839480
*/
94849481
static const CompileTimeErrorCode MIXINS_SUPER_CLASS = CompileTimeErrorCode(
9485-
'MIXINS_SUPER_CLASS',
9482+
'IMPLEMENTS_SUPER_CLASS',
94869483
"'{0}' can't be used in both 'extends' and 'with' clauses.",
94879484
correctionMessage: "Try removing one of the occurrences.",
9485+
hasPublishedDocs: true,
9486+
uniqueName: 'MIXINS_SUPER_CLASS',
94889487
);
94899488

94909489
/**

pkg/analyzer/messages.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8297,12 +8297,11 @@ CompileTimeErrorCode:
82978297
}
82988298
```
82998299
MIXINS_SUPER_CLASS:
8300+
sharedName: IMPLEMENTS_SUPER_CLASS
83008301
problemMessage: "'{0}' can't be used in both 'extends' and 'with' clauses."
83018302
correctionMessage: Try removing one of the occurrences.
8303+
hasPublishedDocs: true
83028304
comment: |-
8303-
Technically this is [IMPLEMENTS_SUPER_CLASS].
8304-
See https://github.com/dart-lang/sdk/issues/25765#issuecomment-307422593
8305-
83068305
Parameters:
83078306
0: the name of the class that appears in both "extends" and "with" clauses
83088307
MIXIN_APPLICATION_CONCRETE_SUPER_INVOKED_MEMBER_TYPE:

pkg/analyzer/tool/diagnostics/diagnostics.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6731,6 +6731,8 @@ class B implements A {}
67316731

67326732
### implements_super_class
67336733

6734+
_'{0}' can't be used in both 'extends' and 'with' clauses._
6735+
67346736
_'{0}' can't be used in both the 'extends' and 'implements' clauses._
67356737

67366738
#### Description

tools/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ CHANNEL dev
2727
MAJOR 2
2828
MINOR 18
2929
PATCH 0
30-
PRERELEASE 28
30+
PRERELEASE 29
3131
PRERELEASE_PATCH 0

0 commit comments

Comments
 (0)