Use canonical type to determine the source value (ROOT-6430).