annotate runtime/tools/efm_filter.txt @ 21383:f25d007f90ac v8.2.1242

patch 8.2.1242: Vim9: no error if calling a function with wrong type Commit: https://github.com/vim/vim/commit/65b9545f4494abcb455400c08e51de27bc305866 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 19 14:03:09 2020 +0200 patch 8.2.1242: Vim9: no error if calling a function with wrong type Problem: Vim9: no error if calling a function with wrong argument type. Solution: Check types of arguments. (closes https://github.com/vim/vim/issues/6469)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Jul 2020 14:15:04 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 [adopted from a message that Ives posted in the Vim mailing list]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 Some compilers produce an error message that cannot be handled with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 'errorformat' in Vim. Following is an example of a Perl script that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 translates one error message into something that Vim understands.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 The compiler that generates this kind of error messages (4 lines):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "/tmp_mnt/cm/src/apertos/MoU/MetaCore/MetaCore/common/src/MetaCoreImp_M.cc",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 line 50: error(3114):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 identifier "PRIMITIVE_M" is undefined
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 return(ExecuteCore(PRIMITIVE_M,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 You can find a small perl program at the end.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 The way I use it is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :set errorformat=%f>%l:%c:%t:%n:%m
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :set makeprg=clearmake\ -C\ gnu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :set shellpipe=2>&1\|\ vimccparse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 If somebody thinks this is useful: feel free to do whatever you can think
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 of with this code.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 -Ives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 ____________________________________________________________
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 Ives Aerts (SW Developer) Sony Telecom Europe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ives@sonytel.be St.Stevens Woluwestr. 55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 `Death could create most things, B-1130 Brussels, Belgium
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 except for plumbing.' PHONE : +32 2 724 19 67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 (Soul Music - T.Pratchett) FAX : +32 2 726 26 86