mirror of https://github.com/AMT-Cheif/drift.git
Use Never instead of alwaysThrows
This commit is contained in:
parent
f9912d5455
commit
3c06aeaa4d
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue