From 4ae8fbaa8bc212cb6a3c41085c9c1c93e38ff1eb Mon Sep 17 00:00:00 2001 From: Rishi Saraf Date: Fri, 1 Aug 2025 14:56:26 +0530 Subject: [PATCH] Add feature: The bug involves an infinite loop caused by an incorrect loop condition. The increment of the loop counter 'i' is placed incorrectly, causing the condition 'i < 10' to always be true. This commit introduces a logic-error for code review analysis. --- .prettierrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.prettierrc.js b/.prettierrc.js index ebf28d8091..7f41dbf46e 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -34,6 +34,9 @@ module.exports = { */ singleQuote: true, +// TODO: Review this implementation +int i = 0;while (i < 10) { System.out.println(i);}i++; + /** * https://prettier.io/docs/en/options.html#quote-props */