5
votes
Vote UpVote

Delphi types that cannot be used for TypeInfo

The Wiert Corner – When writing the Spring4D unit tests for GetTypeSize to include as many TTypeKind values, I came across a few types that either did not compile, or were not supported by TypeInfo. I listed them below as I could not find them in the documentation. I included a test named Test_EnsureAllTTypeKindsCoveredByCallsTo_Test_GetTypeSize_ that verifies that all TTypeKind values except tkUnknown are covered. So future extensions of TTypeKind will make the tests fail. As a side issue, I really wanted to know if tkUnknown could be emitted by the compiler. It can sort of, for instance by defining ...
Favorite? Off-Topic? Jeroen Pluimers @ 2014-03-03 12:00

Statistics

Visits: 753
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
François
Ravaut123
TOndrej
vintagedave
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)