Fix array operator creating array of type error.
This commit is contained in:
@@ -280,6 +280,7 @@ namespace Cryville.Crtr {
|
|||||||
protected override void Execute() {
|
protected override void Execute() {
|
||||||
var o0 = GetOperand(0);
|
var o0 = GetOperand(0);
|
||||||
int type = o0.Type;
|
int type = o0.Type;
|
||||||
|
if (type == PdtInternalType.Error) throw new InvalidOperationException("Error");
|
||||||
int len = o0.Length;
|
int len = o0.Length;
|
||||||
bool blit = !IsBlittable(type);
|
bool blit = !IsBlittable(type);
|
||||||
for (var i = 1; i < LoadedOperandCount; i++) {
|
for (var i = 1; i < LoadedOperandCount; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user