0029065: The test for issue 0029053 is STILL incomplete. ref.0029053: generic array with element type restriction does not work
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
The test that should be added is a test for:
type
generic TModelArray<T: class> = array of T;
^^^^^^^^^
instead of
type
generic TModelArray<T: TObject> = array of T;
Because the latter is refused by Delphi.
The test would pass in both cases though. But my suggestion is about testing Delphi compatibility syntax. Maybe I wrote it up in the wrong way.
Mantis conversion info:
- Mantis ID: 29066
- Fixed in revision: 32459 (#6ff3226e)