Special mapping required for ways near Antimeridian?

There is this node: https://www.openstreetmap.org/node/2150646702 in the East and this node: https://www.openstreetmap.org/node/1600333091 in the West both very close to each other near the Antimeridian:

lat=66.6405909 lon=-180
lat=66.6405909 lon=180

They do not seem to be connected. Is this a software problem why it should be avoided to connect them or just a data issue?