“A well regulated militia being necessary to the security of a FREE STATE, the rights of the people to KEEP AND BEAR ARMS shall not be infringe
Thank God the framers of the Constitution had the divinely inspired intelligence to use the word ARMS instead of muskets which was the weapon of choice when it was written. Otherwise the second amendment would have become obsolete the minute the musket became obsolete.
They knew, very well, that technology would improve over time. They had seen a lot of it. There were, almost certainly, a few matchlocks in use at the time of the ratification of the Second Amendment. There were some famous breechloaders in use, there were air rifles, there were crossbows. Edged weapons were still a staple of warfare.