Files
swift-mirror/validation-test/compiler_crashers_2_fixed/f8296a9a293c6ae7.swift
Hamish Knight 45065f3069 [Diags] Allow multiple in-flight diagnostics
Lift the limitation of a single active diagnostic, which was a pretty
easy-to-hit footgun. We now maintain an array of active in-flight
diagnostics, which gets flushed once all them have ended.
2025-08-17 11:48:21 +01:00

6 lines
395 B
Swift

// {"kind":"typecheck","signature":"(anonymous namespace)::TypeResolver::resolveCompositionType(swift::CompositionTypeRepr*, swift::TypeResolutionOptions)","signatureAssert":"Assertion failed: (!ActiveDiagnostic && \"Already have an active diagnostic\"), function diagnose"}
// RUN: not %target-swift-frontend -typecheck %s
// REQUIRES: objc_interop
class a open extension a {
@objc b : Int &