Mercurial > vim
comparison src/eval.c @ 19874:f92435f0f449 v8.2.0493
patch 8.2.0493: Vim9: some error messages not tested
Commit: https://github.com/vim/vim/commit/e69f6d044c420d41dced9ba96a3b90f25788e39a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 1 22:11:01 2020 +0200
patch 8.2.0493: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Apr 2020 22:15:04 +0200 |
parents | 9daed26b788b |
children | 435726a03481 |
comparison
equal
deleted
inserted
replaced
19873:b256cdad1dbf | 19874:f92435f0f449 |
---|---|
3847 case VAR_CHANNEL: | 3847 case VAR_CHANNEL: |
3848 #ifdef FEAT_JOB_CHANNEL | 3848 #ifdef FEAT_JOB_CHANNEL |
3849 return tv1->vval.v_channel == tv2->vval.v_channel; | 3849 return tv1->vval.v_channel == tv2->vval.v_channel; |
3850 #endif | 3850 #endif |
3851 | 3851 |
3852 case VAR_PARTIAL: | |
3853 return tv1->vval.v_partial == tv2->vval.v_partial; | |
3854 | |
3852 case VAR_FUNC: | 3855 case VAR_FUNC: |
3853 case VAR_PARTIAL: | 3856 return tv1->vval.v_string == tv2->vval.v_string; |
3857 | |
3854 case VAR_UNKNOWN: | 3858 case VAR_UNKNOWN: |
3855 case VAR_VOID: | 3859 case VAR_VOID: |
3856 break; | 3860 break; |
3857 } | 3861 } |
3858 | 3862 |