1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 21:04:10 +02:00

Fixes for new out-var rules, unassigned variable detection

This commit is contained in:
Brian Fiete 2020-09-22 07:44:47 -07:00
parent 6878183873
commit fd3265445d
9 changed files with 56 additions and 30 deletions

View file

@ -9363,7 +9363,7 @@ namespace IDE
{
if (mBuildContext != null)
{
if (mBuildContext.mScriptContext.mVars.TryGetValue(varName, var value))
if (mBuildContext.mScriptContext.mVars.TryGetValue(varName, out value))
{
if (value.VariantType == typeof(String))
{