We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24fafa3 commit 80ad968Copy full SHA for 80ad968
pkg/linter/test/rules/comment_references_test.dart
@@ -93,6 +93,30 @@ class A {
93
''');
94
}
95
96
+ test_parameter_constructor_field() async {
97
+ await assertNoDiagnostics(r'''
98
+class A {
99
+ final int x;
100
+
101
+ /// [x]
102
+ A(this.x);
103
+}
104
+''');
105
+ }
106
107
+ test_parameter_constructor_super() async {
108
109
110
+ A(int x);
111
112
113
+class B extends A {
114
115
+ B(super.x);
116
117
118
119
120
test_this() async {
121
await assertDiagnostics(r'''
122
/// [this]
0 commit comments