Skip to content

Commit 8bf4e31

Browse files
committed
Warning about ... warnings
1 parent f570f20 commit 8bf4e31

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_posts/2024-08-19-given-priority-change-3.7.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ val x = summon[A]
168168

169169
For more details, you can consult the guide on [configuring and suppressing warnings]({{ site.baseurl }}/2021/01/12/configuring-and-suppressing-warnings.html).
170170

171+
**Caution**: Suppressing warnings should be viewed as a temporary
172+
workaround, not a long-term solution. While it can help address rare
173+
false positives from the compiler, it merely postpones the inevitable
174+
need to update your codebase or the libraries your project depends
175+
on. Relying on suppressed warnings may lead to unexpected issues when
176+
upgrading to future versions of the Scala compiler.
177+
171178
### Workarounds
172179

173180
Here are some practical strategies to help you smoothly adapt to the

0 commit comments

Comments
 (0)