Patch 8.2.1753
Problem: Vim9: crash when using import at script level.
Solution: Give a "not implemented yet" error. (closes #7026)
Files: src/evalvars.c
*** ../vim-8.2.1752/src/evalvars.c 2020-09-26 15:08:52.881779910 +0200
--- src/evalvars.c 2020-09-27 13:46:32.296541175 +0200
***************
*** 2486,2491 ****
--- 2486,2496 ----
rettv->vval.v_string = vim_strsave(import->imp_funcname);
}
}
+ else if (import->imp_all)
+ {
+ emsg("Sorry, 'import * as X' not implemented yet");
+ ret = FAIL;
+ }
else
{
scriptitem_T *si = SCRIPT_ITEM(import->imp_sid);
*** ../vim-8.2.1752/src/version.c 2020-09-27 13:16:41.701465056 +0200
--- src/version.c 2020-09-27 13:49:49.036086905 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1753,
/**/
--
An operatingsystem is just a name you give to the rest of bloating
idiosyncratic machine-based-features you left out of your editor.
(author unknown)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202009271151.08RBpf2L137029%40masaka.moolenaar.net.