[NFC] Eliminate the majority of dynamic_cast
usage in the codebase in favor of ICastable interface#4382
Merged
fruffy merged 4 commits intop4lang:mainfrom asl:icastableFeb 1, 2024
+218-247