@@ -65,7 +65,7 @@ Future<void> _runTests({
6565 compilationMode: compilationMode,
6666 enableExpressionEvaluation: true ,
6767 verboseCompiler: debug,
68- experiments: ['records' ],
68+ experiments: ['records' , 'patterns' ],
6969 );
7070 service = context.debugConnection.vmService;
7171
@@ -88,7 +88,7 @@ Future<void> _runTests({
8888 tearDown (() => service.resume (isolateId));
8989
9090 test ('simple records' , () async {
91- await onBreakPoint ('printSimpleLocal ' , (event) async {
91+ await onBreakPoint ('printSimpleLocalRecord ' , (event) async {
9292 final frame = event.topFrame! .index! ;
9393 final instanceRef = await getInstanceRef (frame, 'record' );
9494
@@ -111,7 +111,7 @@ Future<void> _runTests({
111111 });
112112
113113 test ('simple records, field access' , () async {
114- await onBreakPoint ('printSimpleLocal ' , (event) async {
114+ await onBreakPoint ('printSimpleLocalRecord ' , (event) async {
115115 final frame = event.topFrame! .index! ;
116116 expect (await getInstance (frame, r'record.$1' ),
117117 matchPrimitiveInstance (kind: InstanceKind .kBool, value: true ));
@@ -122,7 +122,7 @@ Future<void> _runTests({
122122 });
123123
124124 test ('simple records with named fields' , () async {
125- await onBreakPoint ('printSimpleNamedLocal ' , (event) async {
125+ await onBreakPoint ('printSimpleNamedLocalRecord ' , (event) async {
126126 final frame = event.topFrame! .index! ;
127127 final instanceRef = await getInstanceRef (frame, 'record' );
128128
@@ -149,7 +149,7 @@ Future<void> _runTests({
149149 });
150150
151151 test ('simple records with named fields, field access' , () async {
152- await onBreakPoint ('printSimpleNamedLocal ' , (event) async {
152+ await onBreakPoint ('printSimpleNamedLocalRecord ' , (event) async {
153153 final frame = event.topFrame! .index! ;
154154 expect (await getInstance (frame, r'record.$1' ),
155155 matchPrimitiveInstance (kind: InstanceKind .kBool, value: true ));
@@ -160,7 +160,7 @@ Future<void> _runTests({
160160 });
161161
162162 test ('complex records fields' , () async {
163- await onBreakPoint ('printComplexLocal ' , (event) async {
163+ await onBreakPoint ('printComplexLocalRecord ' , (event) async {
164164 final frame = event.topFrame! .index! ;
165165 final instanceRef = await getInstanceRef (frame, 'record' );
166166
@@ -208,7 +208,7 @@ Future<void> _runTests({
208208 });
209209
210210 test ('complex records, field access' , () async {
211- await onBreakPoint ('printComplexLocal ' , (event) async {
211+ await onBreakPoint ('printComplexLocalRecord ' , (event) async {
212212 final frame = event.topFrame! .index! ;
213213 expect (await getInstance (frame, r'record.$1' ),
214214 matchPrimitiveInstance (kind: InstanceKind .kBool, value: true ));
@@ -223,7 +223,7 @@ Future<void> _runTests({
223223 });
224224
225225 test ('complex records with named fields' , () async {
226- await onBreakPoint ('printComplexNamedLocal ' , (event) async {
226+ await onBreakPoint ('printComplexNamedLocalRecord ' , (event) async {
227227 final frame = event.topFrame! .index! ;
228228 final instanceRef = await getInstanceRef (frame, 'record' );
229229
@@ -272,7 +272,7 @@ Future<void> _runTests({
272272 });
273273
274274 test ('complex records with named fields, field access' , () async {
275- await onBreakPoint ('printComplexNamedLocal ' , (event) async {
275+ await onBreakPoint ('printComplexNamedLocalRecord ' , (event) async {
276276 final frame = event.topFrame! .index! ;
277277 expect (await getInstance (frame, r'record.$1' ),
278278 matchPrimitiveInstance (kind: InstanceKind .kBool, value: true ));
@@ -287,7 +287,7 @@ Future<void> _runTests({
287287 });
288288
289289 test ('nested records' , () async {
290- await onBreakPoint ('printNestedLocal ' , (event) async {
290+ await onBreakPoint ('printNestedLocalRecord ' , (event) async {
291291 final frame = event.topFrame! .index! ;
292292 final instanceRef = await getInstanceRef (frame, 'record' );
293293
@@ -324,7 +324,7 @@ Future<void> _runTests({
324324 });
325325
326326 test ('nested records, field access' , () async {
327- await onBreakPoint ('printNestedLocal ' , (event) async {
327+ await onBreakPoint ('printNestedLocalRecord ' , (event) async {
328328 final frame = event.topFrame! .index! ;
329329 final instanceRef = await getInstanceRef (frame, r'record.$2' );
330330
@@ -338,7 +338,7 @@ Future<void> _runTests({
338338 });
339339
340340 test ('nested records with named fields,' , () async {
341- await onBreakPoint ('printNestedNamedLocal ' , (event) async {
341+ await onBreakPoint ('printNestedNamedLocalRecord ' , (event) async {
342342 final frame = event.topFrame! .index! ;
343343 final instanceRef = await getInstanceRef (frame, 'record' );
344344
@@ -382,7 +382,7 @@ Future<void> _runTests({
382382 });
383383
384384 test ('nested records with named fields, field access' , () async {
385- await onBreakPoint ('printNestedNamedLocal ' , (event) async {
385+ await onBreakPoint ('printNestedNamedLocalRecord ' , (event) async {
386386 final frame = event.topFrame! .index! ;
387387 final instanceRef = await getInstanceRef (frame, r'record.inner' );
388388
0 commit comments