summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0563
blob: 3d312a2cd4bfc51238d214187cd07d9cfbe58459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0563
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0563
Problem:    Setting v:errors to a string give confusing error. (Christian
            Brabandt)
Solution:   Change internal error into normal error message.
Files:	    src/eval.c


*** ../vim-8.1.0562/src/eval.c	2018-11-28 21:20:34.096221686 +0100
--- src/eval.c	2018-12-04 22:33:08.228556609 +0100
***************
*** 7568,7574 ****
  		return;
  	    }
  	    else if (v->di_tv.v_type != tv->v_type)
! 		internal_error("set_var()");
  	}
  
  	clear_tv(&v->di_tv);
--- 7568,7574 ----
  		return;
  	    }
  	    else if (v->di_tv.v_type != tv->v_type)
! 		EMSG2(_("E963: setting %s to value with wrong type"), name);
  	}
  
  	clear_tv(&v->di_tv);
*** ../vim-8.1.0562/src/version.c	2018-12-04 22:24:12.193693584 +0100
--- src/version.c	2018-12-04 22:34:12.912012871 +0100
***************
*** 794,795 ****
--- 794,797 ----
  {   /* Add new patch number below this line */
+ /**/
+     563,
  /**/

-- 
ARTHUR: The swallow may fly south with the sun, or the house martin or the
        plover seek warmer hot lands in winter, yet these are not strangers to
        our land.
SOLDIER: Are you suggesting coconuts migrate?
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///