Skip to content

Commit 72931ea

Browse files
committed
Fixed the description of init_existential_value to match the implementation
1 parent 1be86ad commit 72931ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/SIL.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4566,11 +4566,11 @@ init_existential_value
45664566
``````````````````````
45674567
::
45684568

4569-
sil-instruction ::= 'init_existential_value' sil-operand ':' sil-type ','
4570-
sil-type
4569+
sil-instruction ::= 'init_existential_value' sil-operand ',' sil-type ','
4570+
sil-type
45714571

4572-
%1 = init_existential_value %0 : $L' : $C, $P
4573-
// %0 must be of loadable type $L', lowered from AST type $L, conforming to
4572+
%1 = init_existential_value %0 : $L, $C, $P
4573+
// %0 must be of loadable type $L, lowered from AST type $C, conforming to
45744574
// protocol(s) $P
45754575
// %1 will be of type $P
45764576

0 commit comments

Comments
 (0)