diff --git a/hash-map.dd b/hash-map.dd index 37de7d773b..c745398601 100644 --- a/hash-map.dd +++ b/hash-map.dd @@ -193,7 +193,7 @@ $(H3 Construction or assignment on setting AA entries) void opAssign(int v) { this.val = v * 2; } } S[int] aa; - aa[1] = 10; // is rewitten to: aa[1].opAssign(10), and + aa[1] = 10; // is rewritten to: aa[1].opAssign(10), and // throws RangeError before opAssign is called ---------