mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Fixes for new out-var rules, unassigned variable detection
This commit is contained in:
parent
6878183873
commit
fd3265445d
9 changed files with 56 additions and 30 deletions
|
@ -2447,7 +2447,7 @@ namespace IDE.ui
|
|||
if (stmtEndChar == '{')
|
||||
offsetLinePos++;
|
||||
}
|
||||
else if (GetStatementRange(toLineStart, .AllowInnerMethodSelect, var stmtStartIdx, var stmtEndIdx, var stmtEndChar) == .Declaration)
|
||||
else if (GetStatementRange(toLineStart, .AllowInnerMethodSelect, out stmtStartIdx, out stmtEndIdx, out stmtEndChar) == .Declaration)
|
||||
{
|
||||
if (stmtEndIdx <= toLineEnd)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue