diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-02-11 08:08:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-11 13:08:43 +0000 |
| commit | 17d687b6a2ea510759d798a03bb80c507ade573e (patch) | |
| tree | 15950b2ab65a5da826be9aaa476c45ad9742c945 /tests/typ/compiler/dict.typ | |
| parent | a1f111dfa6b2dd7771addb02d094a39a490d36ac (diff) | |
Better errors for array/dictionary method calls that return mutable (#3370)
Diffstat (limited to 'tests/typ/compiler/dict.typ')
| -rw-r--r-- | tests/typ/compiler/dict.typ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typ/compiler/dict.typ b/tests/typ/compiler/dict.typ index 92cacdb3..eca1c458 100644 --- a/tests/typ/compiler/dict.typ +++ b/tests/typ/compiler/dict.typ @@ -66,7 +66,8 @@ // Missing lvalue is not automatically none-initialized. #{ let dict = (:) - // Error: 3-9 dictionary does not contain key "b" and no default value was specified + // Error: 3-9 dictionary does not contain key "b" + // Hint: 3-9 use `insert` to add or update values dict.b += 1 } |
