Index: pkg/dart_messages/bin/message_id.dart |
diff --git a/pkg/dart_messages/bin/message_id.dart b/pkg/dart_messages/bin/message_id.dart |
index f94b384c01839328ad9a690c6173dadf27991673..7d59fbd18a1da98f0ec1feb6970a8a65c6c6f08c 100644 |
--- a/pkg/dart_messages/bin/message_id.dart |
+++ b/pkg/dart_messages/bin/message_id.dart |
@@ -30,6 +30,6 @@ void main() { |
var newId; |
do { |
newId = computeId(); |
- } while (!usedIds.contains(newId)); |
+ } while (usedIds.contains(newId)); |
print("Available id: $newId"); |
} |