Skip to content

Commit

Permalink
[parse.d] fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilsonator committed Oct 3, 2024
1 parent c2fb0d4 commit ef495c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dmd/parse.d
Original file line number Diff line number Diff line change
Expand Up @@ -2493,7 +2493,7 @@ class Parser(AST, Lexer = dmd.lexer.Lexer) : Lexer

AST.Expression constraint = tpl ? parseConstraint() : null;

AST.Type tf = new AST.TypeFunction(parameterList, null, linkage, stc); // RetrunType -> auto
AST.Type tf = new AST.TypeFunction(parameterList, null, linkage, stc); // ReturnType -> auto
tf = tf.addSTC(stc);

auto f = new AST.CtorDeclaration(loc, Loc.initial, stc, tf);
Expand Down

0 comments on commit ef495c0

Please sign in to comment.