]> granicus.if.org Git - vim/commit
patch 9.0.1054: object member can't get type from initializer v9.0.1054
authorBram Moolenaar <Bram@vim.org>
Tue, 13 Dec 2022 21:14:28 +0000 (21:14 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 13 Dec 2022 21:14:28 +0000 (21:14 +0000)
commit74e1274edf632b83d2948a2a2d519589eff52997
tree3513a53175d76a294e5d189525480f276591a8e3
parent65b0d1676814ee08fb58ef8d64dd342d1d883192
patch 9.0.1054: object member can't get type from initializer

Problem:    Object member can't get type from initializer.
Solution:   If there is no type specified try to use the type of the
            initializer.  Check for a valid type.
src/errors.h
src/proto/vim9type.pro
src/testdir/test_vim9_class.vim
src/version.c
src/vim9class.c
src/vim9type.c