Skip to content

Commit a2b1e34

Browse files
Merge pull request swiftlang#24981 from aschwaighofer/fix_assert_prev_dynamic
Fix assert
2 parents b47215d + 4873f6c commit a2b1e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/SILVerifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
16571657
"[dynamic_replacement_for:...] function");
16581658
} else if (isa<DynamicFunctionRefInst>(FRI))
16591659
require(RefF->isDynamicallyReplaceable(),
1660-
"dynamic_function_ref cannot reference a "
1660+
"dynamic_function_ref must reference a "
16611661
"[dynamically_replaceable] function");
16621662

16631663
// In canonical SIL, direct reference to a shared_external declaration

0 commit comments

Comments
 (0)