<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xuwei</author_name>
  <author_url>https://blog.hatena.ne.jp/xuwei/</author_url>
  <blog_title>xuwei-k's blog</blog_title>
  <blog_url>https://xuwei-k.hatenablog.com/</blog_url>
  <categories>
    <anon>wartremover</anon>
    <anon>scalafix</anon>
    <anon>scala</anon>
  </categories>
  <description>Scala標準に -Wvalue-discard などがありますが、自分が知る限り、これはすごく細かく制御できるわけではなく、全てを警告します。 $ scala -Wvalue-discard Welcome to Scala 2.13.14 (OpenJDK 64-Bit Server VM, Java 11.0.23). Type in expressions for evaluation. Or try :help. scala&gt; def f = { 2 ; &quot;a&quot; } ^ warning: a pure expression does nothing in statement posi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F2024%2F06%2F25%2F083028&quot; title=&quot;特定の型の値を捨てていたら警告やエラーにするscalafixやwartremoverでのlinter - xuwei-k&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-06-25 08:30:28</published>
  <title>特定の型の値を捨てていたら警告やエラーにするscalafixやwartremoverでのlinter</title>
  <type>rich</type>
  <url>https://xuwei-k.hatenablog.com/entry/2024/06/25/083028</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
