Mercurial > vim
comparison src/version.c @ 25318:24bd79082d86 v8.2.3196
patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime
Commit: https://github.com/vim/vim/commit/05bd9785fd0fd0102ab64554307bff0ec0ae34c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 21 21:37:28 2021 +0200
patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime
Problem: Vim9: bool expression with numbers only fails at runtime.
Solution: Check constant to be bool at compile time. (closes https://github.com/vim/vim/issues/8603)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Jul 2021 21:45:04 +0200 |
parents | 0716cc2e4a8b |
children | 1e6da8364a02 |
comparison
equal
deleted
inserted
replaced
25317:b2006e12af25 | 25318:24bd79082d86 |
---|---|
753 NULL | 753 NULL |
754 }; | 754 }; |
755 | 755 |
756 static int included_patches[] = | 756 static int included_patches[] = |
757 { /* Add new patch number below this line */ | 757 { /* Add new patch number below this line */ |
758 /**/ | |
759 3196, | |
758 /**/ | 760 /**/ |
759 3195, | 761 3195, |
760 /**/ | 762 /**/ |
761 3194, | 763 3194, |
762 /**/ | 764 /**/ |