diff src/testdir/test55.in @ 5604:b43363a7b4c7 v7.4.149

updated for version 7.4.149 Problem: Get E685 error when assigning a function to an autoload variable. (Yukihiro Nakadaira) Solution: Instead of having a global no_autoload variable, pass an autoload flag down to where it is used. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Tue, 14 Jan 2014 15:24:39 +0100
parents 4dd43d6b3df7
children ddc3f32a4b21
line wrap: on
line diff
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -282,6 +282,13 @@ let l = [0, 1, 2, 3]
 :    $put =ps
 :  endfor
 :endfor
+:" :lockvar/islocked() triggering script autoloading
+:set rtp+=./sautest
+:lockvar g:footest#x
+:unlockvar g:footest#x
+:$put ='locked g:footest#x:'.islocked('g:footest#x')
+:$put ='exists g:footest#x:'.exists('g:footest#x')
+:$put ='g:footest#x: '.g:footest#x
 :"
 :" a:000 function argument
 :" first the tests that should fail