Files
swift-mirror/validation-test/compiler_crashers_2_fixed/cccd6394993ea4a2.swift
Hamish Knight 6257828593 [AST] Replace type variables and placeholders in original ErrorTypes
Turns out we can also get solver-allocated original ErrorTypes through
type resolution. Given the original type is only used for
printing/debugging, let's just fold away any type variables and
placeholders into UnresolvedType (which print as placeholders). This
matches what `Solution::simplifyType` does.
2025-06-17 12:09:25 +01:00

4 lines
125 B
Swift

// {"signature":"swift::ErrorType::get(swift::Type)"}
// RUN: not %target-swift-frontend -typecheck %s
@convention(c) _->Int