OpenString will not accept string constants
Original Reporter info from Mantis: RCouture
-
Reporter name:
Original Reporter info from Mantis: RCouture
- Reporter name:
Description:
An attempt to pass a string constant by value to an OpenString constant results in either an uninformative compiler error or a crash, depending on the compatibility mode.
Steps to reproduce:
Compile the attached file. Results vary depending on compiler mode.
FPC or Turbo Pascal mode: Internal error 200405241.
Delphi mode: Signal 291. Save files and restart IDE. But compiler terminates before files can be saved.
Mantis conversion info:
- Mantis ID: 14941
- OS: Win
- OS Build: XP
- Platform: Intel
- Version: 2.2.4
- Fixed in version: 2.4.2
- Fixed in revision: 15201 (#78e19bdd)
- Target version: 2.4.2