On Sun, Feb 25, 2018 at 1:01 PM, Michael Van Canneyt <michael at freepascal.org> wrote: > The compiler does not know at compile time what type the variant is, how can > you expect it to choose the "right" overloaded version ? I would have expected that it will choose the right one @runtime . Bart