diff --git a/drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart b/drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart index 15164c71..16aa41df 100644 --- a/drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart +++ b/drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart @@ -254,8 +254,7 @@ class JoinedSelectStatement })); } - @alwaysThrows - void _warnAboutDuplicate( + Never _warnAboutDuplicate( dynamic cause, StackTrace trace, ResultSetImplementation table) { throw DriftWrappedException( message: 'This query contained the table ${table.entityName} more than '