annotate runtime/compiler/msvc.vim @ 25038:efdb9608cc11
v8.2.3056
patch 8.2.3056: Vim9: using default value in lambda gives confusing error
Commit: https://github.com/vim/vim/commit/14ded11fcad77ebf41032ec80a95d516ca9acb1c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 26 19:25:49 2021 +0200
patch 8.2.3056: Vim9: using default value in lambda gives confusing error
Problem: Vim9: using default value in lambda gives confusing error.
Solution: Pass "default_args" on the first pass to get the arguments.
(closes #8455)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 26 Jun 2021 19:30:03 +0200 |
parents |
bd18da914be9 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim compiler file
|
6259
|
2 " Compiler: Microsoft Visual C
|
7
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
6259
|
4 " Last Change: 2014 Sep 20
|
7
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "msvc"
|
|
10
|
|
11 " The errorformat for MSVC is the default.
|
572
|
12 CompilerSet errorformat&
|
|
13 CompilerSet makeprg=nmake
|