File tree 1 file changed +8
-8
lines changed
pkg/analyzer/lib/src/generated 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,14 @@ class Parser {
225
225
@deprecated
226
226
void set enableAssertInitializer (bool enable) {}
227
227
228
+ /// Enables or disables parsing of control flow collections.
229
+ void set enableControlFlowCollections (bool value) {
230
+ if (value) {
231
+ throw new UnimplementedError ('control_flow_collections experiment'
232
+ ' not supported by analyzer parser' );
233
+ }
234
+ }
235
+
228
236
/// Enables or disables non-nullable by default.
229
237
void set enableNonNullable (bool value) {
230
238
if (value) {
@@ -257,14 +265,6 @@ class Parser {
257
265
}
258
266
}
259
267
260
- /// Enables or disables parsing of control flow collections.
261
- void set enableControlFlowCollections (bool value) {
262
- if (value) {
263
- throw new UnimplementedError ('control_flow_collections experiment'
264
- ' not supported by analyzer parser' );
265
- }
266
- }
267
-
268
268
/// Return `true` if the parser is to allow URI's in part-of directives.
269
269
@deprecated
270
270
bool get enableUriInPartOf => true ;
You can’t perform that action at this time.
0 commit comments