Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/Utilities/OptUtils.swift
Erik Eckstein 37455b6ab6 Optimizer: use formal types instead of SIL types for classifying dynamic casts.
Casts always work with formal rather than lowered types.
This fixes a potential bug when lowered types are different than formal types, like function types.
2025-03-14 09:45:27 +01:00

33 KiB