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

Commit d2a3849

Browse files
devoncarewCommit Bot
authored andcommitted
[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>
1 parent 624dd76 commit d2a3849

17 files changed

+25
-16
lines changed

pkg/analyzer/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
* Deprecated `AstFactory.indexExpressionForTarget()`. Please use
479479
`indexExpressionForTarget2` instead.
480480
* Deprecated `ClassElement.isOrInheritsProxy` and `ClassElement.isProxy`. The
481-
`@proxy` annotation is deprecated in the langauge, and will be removed.
481+
`@proxy` annotation is deprecated in the language, and will be removed.
482482
* Added new error codes: BODY_MIGHT_COMPLETE_NORMALLY,
483483
CASE_EXPRESSION_TYPE_IS_NOT_SWITCH_EXPRESSION_SUBTYPE,
484484
DEFINITELY_UNASSIGNED_LATE_LOCAL_VARIABLE, LATE_FINAL_LOCAL_ALREADY_ASSIGNED,

pkg/language_versioning_2.7_test/pubspec.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include: package:lints/recommended.yaml
2+
3+
analyzer:
4+
exclude:
5+
# These files have intentional errors.
6+
- test/lib_ex2.7_test.dart
7+
- test/lib_ex2.8_test.dart
8+
- test/lib_im2.7_test.dart
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: language_versioning_2_7_test
2+
version: 1.0.0
3+
description: >
4+
Tests of language versioning. Stored as a package in order to have its own
5+
package configuration and default language version
6+
7+
# This package is not intended for consumption on pub.dev. DO NOT publish.
8+
publish_to: none
9+
10+
environment:
11+
sdk: '>=2.7.0 <3.0.0'
12+
13+
dev_dependencies:
14+
lints: any

pkg/language_versioning_2.7_test/test/lib_ex2.7_test.dart renamed to pkg/language_versioning_2_7_test/test/lib_ex2.7_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
part "src/part_of_ex2.7_v_ex2.7.dart";
99

1010
// Specification requires the part file to have
11-
// the same explicit langauge version marker
11+
// the same explicit language version marker
1212
// as the including library,
1313
// not just the same languge version.
1414
part "src/part_of_ex2.7_v_im2.7.dart";

pkg/language_versioning_2.7_test/test/lib_im2.7_test.dart renamed to pkg/language_versioning_2_7_test/test/lib_im2.7_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
part "src/part_of_im2.7_v_im2.7.dart";
88

99
// Specification requires the part fsrc/ile to have
10-
// the same explicit langauge version marker
10+
// the same explicit language version marker
1111
// as the including library,
1212
// not just the same languge version.
1313
part "src/part_of_im2.7_v_ex2.7.dart";

0 commit comments

Comments
 (0)