File tree Expand file tree Collapse file tree
src/main/java/org/skriptlang/skript/lang/simplification Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments