Index: Source/bindings/v8/ExceptionMessages.h |
diff --git a/Source/bindings/v8/ExceptionMessages.h b/Source/bindings/v8/ExceptionMessages.h |
index e04a0c2be4e93eb82faeb8927aa0f9302e92ba80..fde8f25e7ebeebb38d46cd9040acf1c730cc12fe 100644 |
--- a/Source/bindings/v8/ExceptionMessages.h |
+++ b/Source/bindings/v8/ExceptionMessages.h |
@@ -110,11 +110,11 @@ public: |
result.append(" provided ("); |
result.append(formatNumber(given)); |
result.append(") is outside the range "); |
- result.append(lowerBound == ExclusiveBound ? '(' : '['); |
+ result.append(lowerType == ExclusiveBound ? '(' : '['); |
result.append(formatNumber(lowerBound)); |
result.append(", "); |
result.append(formatNumber(upperBound)); |
- result.append(upperBound == ExclusiveBound ? ')' : ']'); |
+ result.append(upperType == ExclusiveBound ? ')' : ']'); |
result.append('.'); |
return result.toString(); |
} |