Mercurial > vim
annotate ci/if_ver-1.vim @ 31815:64f03e860c91 v9.0.1240
patch 9.0.1240: cannot access a private object member in a lambda
Commit: https://github.com/vim/vim/commit/62a6923470827acbf124df41134ae6df52f334e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 24 15:07:04 2023 +0000
patch 9.0.1240: cannot access a private object member in a lambda
Problem: Cannot access a private object member in a lambda defined inside
the class.
Solution: Go up the context stack to find the class. (closes #11866)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 24 Jan 2023 16:15:07 +0100 |
parents | 0878f0fd349b |
children |
rev | line source |
---|---|
19161
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 " Print all interface versions for Ubuntu. Part 1. |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 if 1 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 echo "*** Interface versions ***\n" |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 echo 'Lua:' |
24385
0878f0fd349b
patch 8.2.2733: detecting Lua version is not reliable
Bram Moolenaar <Bram@vim.org>
parents:
19161
diff
changeset
|
9 PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") |
19161
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 echo 'MzScheme:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 PrintVer mzscheme (display (version)) |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 echo 'Perl:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 PrintVer perl print $^V |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 echo 'Ruby:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 PrintVer ruby print RUBY_VERSION |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 echo 'Tcl:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 PrintVer tcl puts [info patchlevel] |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
22 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 echo 'Python 2:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 PrintVer python print sys.version |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
25 endif |