Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
5603:0908a52f3bd9 | 5604:b43363a7b4c7 |
---|---|
280 : let ps .= 'F' | 280 : let ps .= 'F' |
281 : endtry | 281 : endtry |
282 : $put =ps | 282 : $put =ps |
283 : endfor | 283 : endfor |
284 :endfor | 284 :endfor |
285 :" :lockvar/islocked() triggering script autoloading | |
286 :set rtp+=./sautest | |
287 :lockvar g:footest#x | |
288 :unlockvar g:footest#x | |
289 :$put ='locked g:footest#x:'.islocked('g:footest#x') | |
290 :$put ='exists g:footest#x:'.exists('g:footest#x') | |
291 :$put ='g:footest#x: '.g:footest#x | |
285 :" | 292 :" |
286 :" a:000 function argument | 293 :" a:000 function argument |
287 :" first the tests that should fail | 294 :" first the tests that should fail |
288 :try | 295 :try |
289 : let a:000 = [1, 2] | 296 : let a:000 = [1, 2] |