aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/comp_error.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/comp_error.md b/docs/markdown/snippets/comp_error.md
new file mode 100644
index 0000000..6d1bf46
--- /dev/null
+++ b/docs/markdown/snippets/comp_error.md
@@ -0,0 +1,5 @@
+## Comparing two objects with different types is now an error
+
+Using the `==` and `!=` operators to compare objects of different (for instance
+`[1] == 1`) types was deprecated and undefined behavior since 0.45.0 and is
+now a hard error.