mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1885: Vim9: no support for abstract methods
Problem: Vim9: no support for abstract methods Solution: Add support for defining abstract methods in an abstract class closes: #13044 closes: #13046 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
committed by
Christian Brabandt
parent
86cfb39030
commit
7bcd25cad3
@@ -5021,6 +5021,7 @@ define_function(
|
||||
// Do not define the function when getting the body fails and when
|
||||
// skipping.
|
||||
if (((class_flags & CF_INTERFACE) == 0
|
||||
&& (class_flags & CF_ABSTRACT_METHOD) == 0
|
||||
&& get_function_body(eap, &newlines, line_arg, lines_to_free)
|
||||
== FAIL)
|
||||
|| eap->skip)
|
||||
|
Reference in New Issue
Block a user