mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed some generic param cases with generic methods in generic variants
This commit is contained in:
parent
4f3c28ef2f
commit
06a1ea841f
5 changed files with 74 additions and 21 deletions
|
@ -2444,7 +2444,16 @@ namespace IDE
|
|||
{
|
||||
bool foundErrorText = false;
|
||||
if (var error = FindError(lineIdx))
|
||||
foundErrorText = error.mError.Contains(wantsError);
|
||||
{
|
||||
if (error.mError.Contains(wantsError))
|
||||
foundErrorText = true;
|
||||
if (error.mMoreInfo != null)
|
||||
{
|
||||
for (var moreInfo in error.mMoreInfo)
|
||||
if (moreInfo.mError.Contains(wantsError))
|
||||
foundErrorText = true;
|
||||
}
|
||||
}
|
||||
if (!foundErrorText)
|
||||
{
|
||||
mScriptManager.Fail("Error at line {0} in {1} did not contain error text '{2}'\n\t", lineIdx + 1, textPanel.mFilePath, wantsError);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue