Skip to content

Commit

Permalink
Update compiler/src/dmd/mustuse.d
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Backus <[email protected]>
  • Loading branch information
thewilsonator and pbackus authored Dec 21, 2024
1 parent 968996f commit 848fcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/dmd/mustuse.d
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ private bool isAssignment(Expression e)
}

/**
* Returns: true if `e` is
* `(this.field = typeof(this.field).init, this.field.__ctor(arg))`
* Returns: true if `e` is an assignment that's been rewritten to a
* constructor call.
*/
private bool isCtorAssignment(Expression e)
{
Expand Down

0 comments on commit 848fcc5

Please sign in to comment.