Minor fixes to JMP statements

This commit is contained in:
Yoshi Askharoun
2025-09-21 21:25:27 -05:00
parent d72d868bec
commit d29a7ab839
3 changed files with 13 additions and 7 deletions
+5
View File
@@ -57,6 +57,11 @@ internal record IrisObject(object Object, TypeSchema Type)
if (property is not null)
return property.PropertyType;
}
else if (expr is CastExpressionSyntax castExpr)
{
var castTargetName = QualifiedTypeName.Parse(castExpr.Type.ToString());
return ctx.GetImportedType(castTargetName);
}
return null;
}