Skip to content

Commit 2769b33

Browse files
committed
[test] Update a couple of crasher signatures
1 parent 54ff7b3 commit 2769b33

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

validation-test/IDE/crashers/08fb80df278d76cd.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"complete","original":"098f0ede","signature":"swift::ide::CodeCompletionStringBuilder::addTypeAnnotation(swift::Type, swift::DeclContext const*, swift::GenericSignature)","signatureAssert":"Assertion failed: (genericFuncType->getGenericSignature()->isEqual(genericSig) && \"if not, just use the GFT's signature instead below\"), function eraseArchetypes"}
1+
// {"kind":"complete","original":"098f0ede","signature":"swift::constraints::ConstraintSystem::getMemberReferenceTypeFromOpenedType(swift::Type, swift::Type, swift::ValueDecl*, swift::constraints::ConstraintLocator*, bool, bool)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
22
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
33
enum a<b> {
44
c=d#^^# macro d()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// {"kind":"complete","signature":"swift::constraints::ConstraintSystem::getType(swift::ASTNode) const","signatureAssert":"Assertion failed: (hasType(node) && \"Expected type to have been set!\"), function getType"}
1+
// {"kind":"complete","signature":"swift::constraints::ConstraintSystem::getType(swift::ASTNode) const","signatureAssert":"Assertion failed: (found != NodeTypes.end() && \"Expected type to have been set!\"), function getType"}
22
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
33
{ switch { case let c(#^COMPLETE^# b) a

validation-test/compiler_crashers_2/cbbc09a1ce53846d.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::getType(swift::ASTNode) const","signatureAssert":"Assertion failed: (hasType(node) && \"Expected type to have been set!\"), function getType"}
1+
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::getType(swift::ASTNode) const","signatureAssert":"Assertion failed: (found != NodeTypes.end() && \"Expected type to have been set!\"), function getType"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
@resultBuilder struct b {
44
static buildBlock enum c {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::setType(swift::ASTNode, swift::Type)","signatureAssert":"Assertion failed: (!node.isNull() && \"Cannot set type information on null node\"), function setType"}
1+
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::setType(swift::ASTNode, swift::Type, swift::constraints::PreparedOverloadBuilder*)","signatureAssert":"Assertion failed: (!node.isNull() && \"Cannot set type information on null node\"), function setType"}
22
// RUN: not --crash %target-swift-frontend -typecheck %s
33
@propertyWrapper struct a let() = {(@a)in

0 commit comments

Comments
 (0)