Skip to content

Commit df42301

Browse files
committed
Allow Builtin.Load -> ~Escapable
1 parent c494124 commit df42301

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/AST/Builtins.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,7 @@ static ValueDecl *getRefCountingOperation(ASTContext &ctx, Identifier id) {
923923
static ValueDecl *getLoadOperation(ASTContext &ctx, Identifier id) {
924924
return getBuiltinFunction(ctx, id, _thin,
925925
_generics(_unrestricted,
926-
_conformsTo(_typeparam(0), _copyable),
927-
_conformsTo(_typeparam(0), _escapable)),
926+
_conformsTo(_typeparam(0), _copyable)),
928927
_parameters(_rawPointer),
929928
_typeparam(0));
930929
}

0 commit comments

Comments
 (0)