mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[pkg] ignore some intentional analysis issues
Change-Id: I0838cc90113efc8749032e49da70d3ab913112d4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249720 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
parent
624dd76b6f
commit
d2a3849f92
|
@ -478,7 +478,7 @@
|
||||||
* Deprecated `AstFactory.indexExpressionForTarget()`. Please use
|
* Deprecated `AstFactory.indexExpressionForTarget()`. Please use
|
||||||
`indexExpressionForTarget2` instead.
|
`indexExpressionForTarget2` instead.
|
||||||
* Deprecated `ClassElement.isOrInheritsProxy` and `ClassElement.isProxy`. The
|
* Deprecated `ClassElement.isOrInheritsProxy` and `ClassElement.isProxy`. The
|
||||||
`@proxy` annotation is deprecated in the langauge, and will be removed.
|
`@proxy` annotation is deprecated in the language, and will be removed.
|
||||||
* Added new error codes: BODY_MIGHT_COMPLETE_NORMALLY,
|
* Added new error codes: BODY_MIGHT_COMPLETE_NORMALLY,
|
||||||
CASE_EXPRESSION_TYPE_IS_NOT_SWITCH_EXPRESSION_SUBTYPE,
|
CASE_EXPRESSION_TYPE_IS_NOT_SWITCH_EXPRESSION_SUBTYPE,
|
||||||
DEFINITELY_UNASSIGNED_LATE_LOCAL_VARIABLE, LATE_FINAL_LOCAL_ALREADY_ASSIGNED,
|
DEFINITELY_UNASSIGNED_LATE_LOCAL_VARIABLE, LATE_FINAL_LOCAL_ALREADY_ASSIGNED,
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
name: language_versioning_2.7_test
|
|
||||||
version: 1.0.0
|
|
||||||
|
|
||||||
description: >
|
|
||||||
Tests of language versioning.
|
|
||||||
Stored as a package in order to have its own package configuration
|
|
||||||
and default language version
|
|
||||||
|
|
||||||
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
|
||||||
publish_to: none
|
|
||||||
|
|
||||||
environment:
|
|
||||||
sdk: '>=2.7.0 <3.0.0'
|
|
8
pkg/language_versioning_2_7_test/analysis_options.yaml
Normal file
8
pkg/language_versioning_2_7_test/analysis_options.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
include: package:lints/recommended.yaml
|
||||||
|
|
||||||
|
analyzer:
|
||||||
|
exclude:
|
||||||
|
# These files have intentional errors.
|
||||||
|
- test/lib_ex2.7_test.dart
|
||||||
|
- test/lib_ex2.8_test.dart
|
||||||
|
- test/lib_im2.7_test.dart
|
14
pkg/language_versioning_2_7_test/pubspec.yaml
Normal file
14
pkg/language_versioning_2_7_test/pubspec.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: language_versioning_2_7_test
|
||||||
|
version: 1.0.0
|
||||||
|
description: >
|
||||||
|
Tests of language versioning. Stored as a package in order to have its own
|
||||||
|
package configuration and default language version
|
||||||
|
|
||||||
|
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
||||||
|
publish_to: none
|
||||||
|
|
||||||
|
environment:
|
||||||
|
sdk: '>=2.7.0 <3.0.0'
|
||||||
|
|
||||||
|
dev_dependencies:
|
||||||
|
lints: any
|
|
@ -8,7 +8,7 @@
|
||||||
part "src/part_of_ex2.7_v_ex2.7.dart";
|
part "src/part_of_ex2.7_v_ex2.7.dart";
|
||||||
|
|
||||||
// Specification requires the part file to have
|
// Specification requires the part file to have
|
||||||
// the same explicit langauge version marker
|
// the same explicit language version marker
|
||||||
// as the including library,
|
// as the including library,
|
||||||
// not just the same languge version.
|
// not just the same languge version.
|
||||||
part "src/part_of_ex2.7_v_im2.7.dart";
|
part "src/part_of_ex2.7_v_im2.7.dart";
|
|
@ -7,7 +7,7 @@
|
||||||
part "src/part_of_im2.7_v_im2.7.dart";
|
part "src/part_of_im2.7_v_im2.7.dart";
|
||||||
|
|
||||||
// Specification requires the part fsrc/ile to have
|
// Specification requires the part fsrc/ile to have
|
||||||
// the same explicit langauge version marker
|
// the same explicit language version marker
|
||||||
// as the including library,
|
// as the including library,
|
||||||
// not just the same languge version.
|
// not just the same languge version.
|
||||||
part "src/part_of_im2.7_v_ex2.7.dart";
|
part "src/part_of_im2.7_v_ex2.7.dart";
|
Loading…
Reference in a new issue