Unverified Commit 94e31845 authored by Lasse R.H. Nielsen's avatar Lasse R.H. Nielsen Committed by GitHub

Mark use of deprecated type. (#106282)

parent 3313c69d
...@@ -16,7 +16,7 @@ void main() async { ...@@ -16,7 +16,7 @@ void main() async {
try { try {
await compute(throwNull, null); await compute(throwNull, null);
} catch (e) { } catch (e) {
if (e is! NullThrownError) { if (e is! NullThrownError) { // ignore: deprecated_member_use
throw Exception('compute returned bad result'); throw Exception('compute returned bad result');
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment