Skip to content

Commit e4f5cc2

Browse files
authored
Merge pull request #33280 from davezarzycki/pr33280
[AST] NFC: Fix ForeignErrorConvention constructor
2 parents 7dabd46 + a1444ce commit e4f5cc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/AST/ForeignErrorConvention.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ class ForeignErrorConvention {
9595
CanType ResultType;
9696

9797
ForeignErrorConvention(Kind kind, unsigned parameterIndex, IsOwned_t isOwned,
98-
IsReplaced_t isReplaced, Type parameterType,
99-
Type resultType = Type())
98+
IsReplaced_t isReplaced, CanType parameterType,
99+
CanType resultType = CanType())
100100
: info(kind, parameterIndex, isOwned, isReplaced),
101101
ErrorParameterType(parameterType), ResultType(resultType) {}
102102

0 commit comments

Comments
 (0)