commit | f5a48010ef9e47319185f1aaac1bc6d45cd4d47a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 01 17:00:03 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 01 17:00:03 2020 +0200 |
tree | cf15e3bf7d2370d598b48a0ca392744f806d4521 | |
parent | 2ec208172c37b06a6177e32359214e5e02bfbed5 [diff] [blame] |
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error Problem: Vim9: accidentally using "x" gives a confusing error. Solution: Disallow using ":t" in Vim9 script. (issue #6399)
diff --git a/src/vim9compile.c b/src/vim9compile.c index 97fa2e0..38c097c 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -7467,6 +7467,7 @@ case CMD_append: case CMD_change: case CMD_insert: + case CMD_t: case CMD_xit: not_in_vim9(&ea); goto erret;