diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-01 22:11:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-01 22:11:01 +0200 |
commit | e69f6d044c420d41dced9ba96a3b90f25788e39a (patch) | |
tree | 93ea671c8ff74e5ba89808a4561f36cdfc5f4b5c /src/eval.c | |
parent | a8c1770469504ae66c80bbdb03b6b31641215848 (diff) |
patch 8.2.0493: Vim9: some error messages not testedv8.2.0493
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 975afe577c..78673759c1 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3849,8 +3849,12 @@ tv_equal( return tv1->vval.v_channel == tv2->vval.v_channel; #endif - case VAR_FUNC: case VAR_PARTIAL: + return tv1->vval.v_partial == tv2->vval.v_partial; + + case VAR_FUNC: + return tv1->vval.v_string == tv2->vval.v_string; + case VAR_UNKNOWN: case VAR_VOID: break; |