We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49dbf15 + 50f5a4c commit b709fa2Copy full SHA for b709fa2
lib/AST/Type.cpp
@@ -214,7 +214,7 @@ bool TypeBase::isEscapable(const DeclContext *dc) {
214
if (auto nom = canType.getAnyNominal())
215
return nom->isEscapable();
216
else
217
- return false;
+ return true;
218
}
219
220
IsEscapableRequest request{canType};
test/embedded/FixedArray.swift
@@ -12,9 +12,6 @@
12
// REQUIRES: VENDOR=apple
13
// REQUIRES: OS=macosx
14
15
-
16
-// REQUIRES: needsfixing
17
18
func simpleStackAllocated() {
19
var a = FixedArray<Int>(capacity: 10)
20
a.append(27)
0 commit comments