Code cleanup.

This commit is contained in:
2023-04-18 09:47:37 +08:00
parent a8b9ba0af4
commit 398cec1fc5

View File

@@ -79,8 +79,6 @@ namespace Cryville.Crtr {
var result = new SIdentifier[LoadedOperandCount];
for (int i = 0; i < LoadedOperandCount; i++) {
var op = GetOperand(i);
if (op.Type != PdtInternalType.Undefined)
throw new InvalidCastException("Not an identifier");
result[i] = new SIdentifier(op.AsIdentifier());
}
_cb(result);