mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
4 lines
682 B
Swift
4 lines
682 B
Swift
// {"kind":"complete","signature":"openTypeParameter(swift::constraints::ConstraintSystem&, swift::Type, swift::GenericEnvironment*, llvm::DenseMap<swift::SubstitutableType*, swift::TypeVariableType*, llvm::DenseMapInfo<swift::SubstitutableType*, void>, llvm::detail::DenseMapPair<swift::SubstitutableType*, swift::TypeVariableType*>>&)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
|
|
struct a<b:RangeReplaceableCollection where b ={ c: b.Element? { #^COMPLETE^#
|