view src/testdir/test49.ok @ 21646:a640bc762196 v8.2.1373

patch 8.2.1373: Vim9: no error for assigning to non-existing script var Commit: https://github.com/vim/vim/commit/f9b2b49663226235f94f08230fe9023caf80a6e9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 5 14:34:14 2020 +0200 patch 8.2.1373: Vim9: no error for assigning to non-existing script var Problem: Vim9: no error for assigning to non-existing script var. Solution: Check that in Vim9 script the variable was defined. (closes https://github.com/vim/vim/issues/6630)
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Aug 2020 14:45:03 +0200
parents 792398a9fe39
children 97b887aecd4a
line wrap: on
line source

Results of test49.vim:
*** Test  52: OK (1247112011)
*** Test  53: OK (131071)
*** Test  54: OK (2047)
*** Test  55: OK (1023)
*** Test  56: OK (511)
*** Test  57: OK (2147450880)
*** Test  58: OK (624945)
*** Test  59: OK (2038431743)
*** Test  60: OK (311511339)
*** Test  61: OK (374889517)
*** Test  62: OK (286331153)
*** Test  63: OK (236978127)
*** Test  64: OK (1499645335)
*** Test  65: OK (70187)
*** Test  66: OK (5464)
*** Test  67: OK (212514423)
*** Test  68: OK (212514423)
*** Test  76: OK (1610087935)
*** Test  77: OK (1388671)
*** Test  78: OK (134217728)
*** Test  79: OK (70288929)
*** Test  80: OK (17895765)
*** Test  81: OK (387)
*** Test  82: OK (8454401)
*** Test  83: OK (2835)
*** Test  84: OK (934782101)
*** Test  85: OK (198689)
--- Test  86: No Crash for vimgrep on BufUnload
*** Test  86: OK (0)
--- Test  88: All tests were run with throwing exceptions on error.
	      The $VIMNOERRTHROW control is not configured.
--- Test  88: All tests were run with throwing exceptions on interrupt.
	      The $VIMNOINTTHROW control is not configured.
*** Test  88: OK (50443995)