I mistakenly indicated in an earlier article [here], that the Latin Church permits the distribution of Communion as Viaticum to dying infants. This is not the case.
Rather, the Latin Church encourages priests (and parents) to carefully consider whether perhaps even a young child (below the age of seven) may have a sufficient use of reason to be able to recognize what the Eucharist is and to receive Communion with devotion. If it happens that a young child is able to do so, then he ought to be given Viaticum (when the circumstances of the illness permit).
In every case, the Latin Church maintains the best tradition regarding Communion: The fruitful reception of the Sacrament requires the devotion of the faithful, either present devotion or at least past devotion (in the case of those who are at the point of death and who at that moment lack the use of reason, but who previously had devotion for the sacrament and who are able to receive without danger of vomiting).
The relevant canons from the Code of Canon Law:
Can. 913 §1. The administration of the Most Holy Eucharist to children requires that they have sufficient knowledge and careful preparation so that they understand the mystery of Christ according to their capacity and are able to receive the body of Christ with faith and devotion.
§2. The Most Holy Eucharist, however, can be administered to children in danger of death if they can distinguish the body of Christ from ordinary food and receive communion reverently.
Can. 914 It is primarily the duty of parents and those who take the place of parents, as well as the duty of pastors, to take care that children who have reached the use of reason are prepared properly and, after they have made sacramental confession, are refreshed with this divine food as soon as possible. It is for the pastor to exercise vigilance so that children who have not attained the use of reason or whom he judges are not sufficiently disposed do not approach holy communion.