<h3 dir="auto">Version</h3>
<p dir="auto">2.5.16</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codepen.io/windyflying/pen/JvzvRb" rel="nofollow">https://codepen.io/windyflying/pen/JvzvRb</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">1.用Chrome或Firefox或Edge打开重现链接，查看结果，代码按预期工作。<br>
2.用IE11打开重现链接，代码不能按预期运行。检查浏览器控制台，有运行时错误，如标题。</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">没有运行时错误</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">出现运行时错误</p>
<hr>
<p dir="auto">编译后的模板函数在IE11、 IE10和工作正常的浏览器的不一致。</p>
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.16 / 2.5.17</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/plasmaeng/ndmjjkho/1/" rel="nofollow">https://jsfiddle.net/plasmaeng/ndmjjkho/1/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Running the code below in IE10 will result in the following error:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;meta charset=&quot;utf-8&quot;&gt;
	&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
	&lt;title&gt;Page Title&lt;/title&gt;
	&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;
	&lt;script src=&quot;vue.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;app_test&quot;&gt;
	&lt;form&gt;
	&lt;select&gt;
		&lt;option v-for=&quot;value in L&quot;&gt;{{value}}&lt;/option&gt;
	&lt;/select&gt;
	&lt;/form&gt;
&lt;/div&gt;

&lt;script&gt;
	var appTest = new Vue({
	el: '#app_test',
		data: {
			L : [ '1', '2' ,'3']
		}
	});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;"><pre class="notranslate"><span class="pl-c1">&lt;!DOCTYPE html<span class="pl-kos">&gt;</span></span>
<span class="pl-kos">&lt;</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">meta</span> <span class="pl-c1">charset</span>="<span class="pl-s">utf-8</span>"<span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">meta</span> <span class="pl-c1">http-equiv</span>="<span class="pl-s">X-UA-Compatible</span>" <span class="pl-c1">content</span>="<span class="pl-s">IE=edge</span>"<span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">title</span><span class="pl-kos">&gt;</span>Page Title<span class="pl-kos">&lt;/</span><span class="pl-ent">title</span><span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">meta</span> <span class="pl-c1">name</span>="<span class="pl-s">viewport</span>" <span class="pl-c1">content</span>="<span class="pl-s">width=device-width, initial-scale=1</span>"<span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">vue.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">head</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">id</span>="<span class="pl-s">app_test</span>"<span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">form</span><span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;</span><span class="pl-ent">select</span><span class="pl-kos">&gt;</span>
		<span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">v-for</span>="<span class="pl-s">value in L</span>"<span class="pl-kos">&gt;</span>{{value}}<span class="pl-kos">&lt;/</span><span class="pl-ent">option</span><span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;/</span><span class="pl-ent">select</span><span class="pl-kos">&gt;</span>
	<span class="pl-kos">&lt;/</span><span class="pl-ent">form</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span>

<span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
	<span class="pl-k">var</span> <span class="pl-s1">appTest</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Vue</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
	<span class="pl-c1">el</span>: <span class="pl-s">'#app_test'</span><span class="pl-kos">,</span>
		<span class="pl-c1">data</span>: <span class="pl-kos">{</span>
			<span class="pl-c1">L</span> : <span class="pl-kos">[</span> <span class="pl-s">'1'</span><span class="pl-kos">,</span> <span class="pl-s">'2'</span> <span class="pl-kos">,</span><span class="pl-s">'3'</span><span class="pl-kos">]</span>
		<span class="pl-kos">}</span>
	<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">Here is the error message from IE10.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Vue warn]: Error compiling template:

&lt;div id=&quot;app_test&quot;&gt;
	&lt;form&gt;
	&lt;select&gt;
		&lt;option v-for=&quot;value in L&quot;&gt;{{value}}&lt;/option&gt;
	&lt;/select&gt;
	&lt;/form&gt;
&lt;/div&gt;

invalid expression: Syntax error in  Raw expression: v-for=&quot;value in L&quot;
invalid v-for alias &quot;&quot; in expression: v-for=&quot;value in L&quot;"><pre class="notranslate"><code class="notranslate">[Vue warn]: Error compiling template:

&lt;div id="app_test"&gt;
	&lt;form&gt;
	&lt;select&gt;
		&lt;option v-for="value in L"&gt;{{value}}&lt;/option&gt;
	&lt;/select&gt;
	&lt;/form&gt;
&lt;/div&gt;

invalid expression: Syntax error in  Raw expression: v-for="value in L"
invalid v-for alias "" in expression: v-for="value in L"
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7733913/38195565-fcaff2c8-36b8-11e8-9f26-2af218142fd5.png"><img src="https://user-images.githubusercontent.com/7733913/38195565-fcaff2c8-36b8-11e8-9f26-2af218142fd5.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7733913/38196349-7d88efea-36bd-11e8-83ba-df6c3443c848.png"><img src="https://user-images.githubusercontent.com/7733913/38196349-7d88efea-36bd-11e8-83ba-df6c3443c848.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto"><code class="notranslate">&lt;option&gt;</code> is generated from 1 to 3.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto"><code class="notranslate">&lt;option&gt;</code> is not generated with error !!!</p>
<hr>
<p dir="auto">I have persuaded a senior for a long time to introduce Vue.js.<br>
If this problem is solved, we plan to reorganize the site into Vue.js.<br>
Please solve the problem.</p>