Patch to relax operator overloading restrictions
Original Reporter info from Mantis: jcchu
-
Reporter name: JC Chu
Original Reporter info from Mantis: jcchu
- Reporter name: JC Chu
Description:
This is a patch on htypechk.pas to allow for previously forbidden cases of operator overloading involving simple types.
◦ internal_check() now handles enumeration, set, and floating-point types.
◦ Unnecessary restrictions on enumerations have been removed.
◦ Restrictions on the string-as-the-first-operand case have been relaxed.
There may be other valid cases not covered by this fix.
Mantis conversion info:
- Mantis ID: 22359
- OS: Windows NT
- OS Build: 6.1.7601
- Platform: x86_64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 21975 (#b0458b55)