commit | bcf31ec36b4b056bf06d21036640c6f0235e9c2b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jan 02 20:32:24 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jan 02 20:32:24 2023 +0000 |
tree | 770b7eb39ad0fd3e9095703773474cda107a44e9 | |
parent | a9fa8c58fbcc5cf8850f6963c509de272f4d4bbf [diff] [blame] |
patch 9.0.1134: comparing objects uses identity instead of equality Problem: Comparing objects uses identity instead of equality. Solution: Compare the object values.
diff --git a/src/vim9.h b/src/vim9.h index f8e5e56..443eaeb 100644 --- a/src/vim9.h +++ b/src/vim9.h
@@ -164,6 +164,8 @@ ISN_COMPAREDICT, ISN_COMPAREFUNC, ISN_COMPAREANY, + ISN_COMPARECLASS, + ISN_COMPAREOBJECT, // expression operations ISN_CONCAT, // concatenate isn_arg.number strings