Skip to content

Commit cf7fdb6

Browse files
committed
slight change to contract wording
1 parent f91a30b commit cf7fdb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/skriptlang/skript/lang/simplification/Simplifiable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public interface Simplifiable<S extends SyntaxElement> {
1616
* An addition indicating that the value was simplified can be added in the debug string. See {@link SimplifiedLiteral}
1717
* for an example.
1818
* <br>
19-
* Simplification should never widen contracts. For example, any simplified expression should take care to return
19+
* Simplification should never invalidate contracts. For example, any simplified expression should take care to return
2020
* the same or a more specific type than the original expression, never a more generic type. Likewise, be sure to
2121
* maintain the behavior of change() and acceptsChange(). Failure to do so can result in unexpected behavior and
2222
* tricky bugs.

0 commit comments

Comments
 (0)