Skip to content

Commit 3c7de8d

Browse files
author
David Ungar
committed
Oops! Missed porting over the line to set the alias decl end.
1 parent 87a4aa6 commit 3c7de8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4098,6 +4098,7 @@ parseDeclTypeAlias(Parser::ParseDeclOptions Flags, DeclAttributes &Attributes) {
40984098
}
40994099

41004100
UnderlyingTy = parseType(diag::expected_type_in_typealias);
4101+
TAD->setEndLoc(getEndOfPreviousLoc());
41014102
Status |= UnderlyingTy;
41024103
}
41034104

0 commit comments

Comments
 (0)