Mercurial > vim
comparison src/testdir/test_debugger.vim @ 22486:4086a1708c83 v8.2.1791
patch 8.2.1791: Vim9: debugger test fails
Commit: https://github.com/vim/vim/commit/1bdae4032359081325578cc74739a0a097e008ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 3 14:14:56 2020 +0200
patch 8.2.1791: Vim9: debugger test fails
Problem: Vim9: debugger test fails.
Solution: Use "var" instead of "let".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Oct 2020 14:30:04 +0200 |
parents | 595ea7f099cd |
children | dcb59b1cc0c1 |
comparison
equal
deleted
inserted
replaced
22485:a950cd957dad | 22486:4086a1708c83 |
---|---|
857 | 857 |
858 let file2 =<< trim END | 858 let file2 =<< trim END |
859 vim9script | 859 vim9script |
860 | 860 |
861 def DoAThing(): number | 861 def DoAThing(): number |
862 let a = 100 * 2 | 862 var a = 100 * 2 |
863 a += 3 | 863 a += 3 |
864 return a | 864 return a |
865 enddef | 865 enddef |
866 | 866 |
867 export def File2Function() | 867 export def File2Function() |