Skip to content

Commit 3adeecb

Browse files
committed
AST: Fix doc comment on computeSelfParam()
1 parent d260fbb commit 3adeecb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/swift/AST/Types.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6035,10 +6035,8 @@ inline ArrayRef<AnyFunctionType::Param> AnyFunctionType::getParams() const {
60356035
}
60366036
}
60376037

6038-
/// If this is a method in a type or extension thereof, compute
6039-
/// and return a parameter to be used for the 'self' argument. The type of
6040-
/// the parameter is the empty Type() if no 'self' argument should exist. This
6041-
/// can only be used after types have been resolved.
6038+
/// If this is a method in a type or extension thereof, return the
6039+
/// 'self' parameter.
60426040
///
60436041
/// \param isInitializingCtor Specifies whether we're computing the 'self'
60446042
/// type of an initializing constructor, which accepts an instance 'self'

0 commit comments

Comments
 (0)