comparison src/testdir/sautest/autoload/auto9.vim @ 27474:307341b9c227 v8.2.4265

patch 8.2.4265: autoload tests fails Commit: https://github.com/vim/vim/commit/6a058070924928f1b2bdb11f345229074904d8bd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 18:56:35 2022 +0000 patch 8.2.4265: autoload tests fails Problem: Autoload tests fails. Solution: Use export instead of name with #.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 20:00:04 +0100
parents b0b57d91671c
children
comparison
equal deleted inserted replaced
27473:1e7b91cb3bb4 27474:307341b9c227
1 vim9script 1 vim9script
2 2
3 func auto9#getsome() 3 export func Getsome()
4 return 'some' 4 return 'some'
5 endfunc 5 endfunc
6 6
7 def auto9#add42(count: number): number 7 export def Add42(count: number): number
8 return count + 42 8 return count + 42
9 enddef 9 enddef