Skip to content

Commit bb4ac9c

Browse files
committed
update macro benchmark example to match the latest api
1 parent e9ffb51 commit bb4ac9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

working/macros/example/benchmark/simple.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ Host app mode: $hostMode
202202
staticScope: null,
203203
uri: Uri.parse('package:app/main.dart'));
204204
}
205-
});
205+
},
206+
(annotation) =>
207+
throw UnsupportedError('Omitted types are not supported!'));
206208
executor.close();
207209
_log('Formatting augmentation library');
208210
var formatted = DartFormatter()

0 commit comments

Comments
 (0)