diff --git a/src/LuauRenderer/util/needsParentheses.ts b/src/LuauRenderer/util/needsParentheses.ts index 5e9fb94..36d609a 100644 --- a/src/LuauRenderer/util/needsParentheses.ts +++ b/src/LuauRenderer/util/needsParentheses.ts @@ -35,6 +35,7 @@ const BINARY_OPERATOR_PRECEDENCE: { [K in luau.BinaryOperator]: number } = { "-": 5, "*": 6, "/": 6, + "//": 6, "%": 6, "^": 8, };