Use Never instead of alwaysThrows

This commit is contained in:
Simon Binder 2023-01-31 22:58:53 +01:00
parent f9912d5455
commit 3c06aeaa4d
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 2 deletions

View File

@ -254,8 +254,7 @@ class JoinedSelectStatement<FirstT extends HasResultSet, FirstD>
}));
}
@alwaysThrows
void _warnAboutDuplicate(
Never _warnAboutDuplicate(
dynamic cause, StackTrace trace, ResultSetImplementation table) {
throw DriftWrappedException(
message: 'This query contained the table ${table.entityName} more than '