WideChar constants cannot be compiled
Original Reporter info from Mantis: bork
-
Reporter name: Boris Matkov
Original Reporter info from Mantis: bork
- Reporter name: Boris Matkov
Description:
WideChar constants cannot be compiled.
Try to compile the following code:
const
engChar: WideChar = 'r'; // OK
rusChar1: WideChar = 'ё'; // Error
rusChar2: WideChar = WideChar('ё'); // Error
eng: array[0..2] of WideChar = ('u', 'R', 'z'); // OK
rus1: array[0..2] of WideChar = ('ё', 'м', 'я'); // Error
rus2: array[0..2] of WideChar = (WideChar('ё'), WideChar('м'), WideChar('я')); // Error
Mantis conversion info:
- Mantis ID: 31605
- Build: Lazarus 1.6.4 FPC 3.0.2
- Version: 3.0.0
- Fixed in version: 3.1.1
- Fixed in revision: 38730 (#1f9d518c)