mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ df4b49798e
🚀
This commit is contained in:
parent
d180579ffe
commit
ccdb9759da
121 changed files with 753 additions and 721 deletions
|
@ -799,7 +799,7 @@ types like containers, range or regex.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/1a26ebcf/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/df4b4979/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
|
||||
ameba/rule/lint/literals_comparison.cr
|
||||
</a>
|
||||
|
||||
|
@ -956,6 +956,13 @@ types like containers, range or regex.</p>
|
|||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#test%28source%29-instance-method" class="signature"><strong>#test</strong>(source)</a>
|
||||
|
||||
<div class="summary"><p>Edge-case: <code>{{ T == Nil }}</code></p></div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -1196,7 +1203,7 @@ types like containers, range or regex.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1a26ebcf/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/df4b4979/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1377,7 +1384,32 @@ types like containers, range or regex.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/1a26ebcf/src/ameba/rule/lint/literals_comparison.cr#L55" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/df4b4979/src/ameba/rule/lint/literals_comparison.cr#L71" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="entry-detail" id="test(source)-instance-method">
|
||||
<div class="signature">
|
||||
|
||||
def <strong>test</strong>(source)
|
||||
|
||||
<a class="method-permalink" href="#test%28source%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
||||
<p>Edge-case: <code>{{ T == Nil }}</code></p>
|
||||
<p>Current implementation just skips all macro contexts,
|
||||
regardless of the free variable being present.</p>
|
||||
<p>Ideally we should only check whether either of the sides
|
||||
is a free var</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/df4b4979/src/ameba/rule/lint/literals_comparison.cr#L62" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue