Skip to content

Commit 3a79e7a

Browse files
committed
Update ConstraintSolver_Rules.cs
1 parent 14de15e commit 3a79e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Draco.Compiler/Internal/Solver/ConstraintSolver_Rules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private bool ApplyRulesOnce(DiagnosticBag diagnostics)
193193
else
194194
{
195195
// Setter
196-
// We allocate a type var for the return type, but we don't care about it
196+
// We allocate a type var for the return type, but we don't care about it as it's generally just void
197197
var returnType = this.AllocateTypeVariable();
198198
this.constraintStore.Add(new Overload(
199199
locator: ConstraintLocator.Constraint(indexer),

0 commit comments

Comments
 (0)