Browse Source

undef ToString fix

Brian Fiete 4 years ago
parent
commit
aa21020255
2 changed files with 3 additions and 1 deletions
  1. 2 1
      IDE/src/IDEApp.bf
  2. 1 0
      IDEHelper/Backend/BeModule.cpp

+ 2 - 1
IDE/src/IDEApp.bf

@@ -6588,7 +6588,8 @@ namespace IDE
 							nextTab = checkTab;
 	                });
 			}
-			else {
+			else
+			{
 				nextTab = tabbedView.GetActiveTab();
 			}
 

+ 1 - 0
IDEHelper/Backend/BeModule.cpp

@@ -1356,6 +1356,7 @@ void BeDumpContext::ToString(StringImpl& str, BeValue* value, bool showType, boo
 			str += " ";
 		}
 		str += "undef";
+		return;
 	}
 
 	if (auto constant = BeValueDynCast<BeCastConstant>(value))