Underwater caves and ravines don't stop dry caves from generating attached to them, even though dry caves are stopped by rivers and seas. To reproduce, use the seed 4047987678748182163 and teleport to -50 30 222 to look at the place where I got most of the screenshots (these intersections usually generate commonly in between land and ocean biomes).
Linked issues
is duplicated by
relates to
Attachments
Comments

Confirmed in 18w09a