<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="330068" data-post-id="330068">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="dwark" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dwark/120/30559_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  dwark
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You sir, are awesome!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="330068" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-pattern-can-never-match-the-type-error-from-dialyzer/63927/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-330068" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="330068"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="330070" data-post-id="330070">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="al2o3cr" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/al2o3cr/120/3457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  al2o3cr
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Followup: if you use the <code>:overspecs</code> flag in your Dialyxir config, you get a much more intelligible error message (among a BUNCH of messages):</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">________________________________________________________________________________
lib/teiserver/lobby/libs/lobby_restrictions.ex:130:missing_range
The type specification is missing types returned by function.

Function:
Teiserver.Lobby.LobbyRestrictions.check_rank_to_play/2

Type specification return types:
:ok | {:error, binary()}

Missing from spec:
{:error, [&lt;&lt;_::64, _::size(8)&gt;&gt;, ...]}

________________________________________________________________________________
lib/teiserver/lobby/libs/lobby_restrictions.ex:163:missing_range
The type specification is missing types returned by function.

Function:
Teiserver.Lobby.LobbyRestrictions.check_rating_to_play/2

Type specification return types:
:ok | {:error, binary()}

Missing from spec:
{:error, [&lt;&lt;_::64, _::size(8)&gt;&gt;, ...]}
</code></pre>
<p>Unfortunately, you also get a TON of these:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">________________________________________________________________________________
lib/teiserver_web/controllers/api/hailstorm_controller.ex:205:contract_subtype
Type specification is a subtype of the success typing.

Function:
Teiserver.API.HailstormAuth.authorize/3

Type specification:
@spec authorize(Atom.t(), Plug.Conn.t(), Map.t()) :: Boolean.t()

Success typing:
@spec authorize(_, _, _) :: any()
</code></pre>
<p>Somewhat annoying that those two checks are only available together, as the former seems like a much stronger “there may be a bug” signal than the latter. <img src="https://forum.elixirforum.com/images/emoji/apple/thinking.png?v=15" title=":thinking:" class="emoji" alt=":thinking:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="330070" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/the-pattern-can-never-match-the-type-error-from-dialyzer/63927/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-330070" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="330070"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>