git @ Cat's Eye Technologies SixtyPical / 42c4bed
Make tests pass. Chris Pressey 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
513513 pass
514514 else:
515515 raise TypeMismatchError((src, dest))
516 context.assert_in_range(dest.index, dest.ref)
516517
517518 elif isinstance(src, IndexedRef) and isinstance(dest, LocationRef):
518519 if TableType.is_a_table_type(src.ref.type, TYPE_WORD) and dest.type == TYPE_WORD:
522523 pass
523524 else:
524525 raise TypeMismatchError((src, dest))
526 context.assert_in_range(src.index, src.ref)
525527
526528 elif isinstance(src, (LocationRef, ConstantRef)) and isinstance(dest, LocationRef):
527529 if src.type == dest.type: