Hi,

Op do 28 sep. 2023 22:30 schreef Christian Brabandt <cbli...@256bit.org>:

> +           // object variable this. can be used only in a constructor
> +           if (STRNCMP(eap->arg, "new", 3) != 0)
> +           {
> +               c = *argend;
> +               *argend = NUL;
> +
>  semsg(_(e_cannot_use_an_object_variable_except_with_the_new_method_str),
> arg);
> +               *argend = c;
> +               break;
> +           }
> +
>

Will this check fail if the class method using "this." is called
newCalculation()? Or are any methods starting with "new" disallowed?

Christ van Willegen

>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CA%2BOt1Ozo8F4DoE__k_UQjQt0G3zkNm_cRLVqfenbDLBPJEHf_w%40mail.gmail.com.

Raspunde prin e-mail lui