Daily update on 20250306-064644 by Nitload Youmu. Additional Message : Building AST generator, adding a bi-channel stack as replace of two operand stack

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-06 06:46:45 +08:00
parent c5777f4bfe
commit 8460bfd56a
8 changed files with 279 additions and 19 deletions
@@ -133,7 +133,11 @@ namespace StgSharp.Script.Express
{
IExpElementSource tLeft = left.EqualityTypeConvert,
tRight = right.EqualityTypeConvert;
if( tLeft == null || tRight == null ) {
if( tLeft is not ExpInstantiableElement tLeftIns || tRight is not ExpInstantiableElement tRightIns ) {
return false;
}
if( ExpInstantiableElement.IsNullOrVoid( tLeftIns ) || ExpInstantiableElement.IsNullOrVoid(
tLeftIns ) ) {
return false;
}
return tLeft.IsConvertable( tRight );