<p dir="auto">Babel 6.1.1 (babel-core 6.0.20)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Foo {

  bar() {
    let bar = 2
    console.log(bar)
  }
}"><pre class="notranslate"><code class="notranslate">class Foo {

  bar() {
    let bar = 2
    console.log(bar)
  }
}
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./node_modules/.bin/babel test.js"><pre class="notranslate"><code class="notranslate">./node_modules/.bin/babel test.js
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: test.js: Duplicate declaration &quot;bar&quot;
  2 |
  3 |   bar() {
&gt; 4 |     let bar = 2
    |         ^
  5 |     console.log(bar)
  6 |   }
  7 | }
    at File.buildCodeFrameError (***/node_modules/babel-core/lib/transformation/file/index.js:409:15)
    at Scope.checkBlockScopedCollisions (***/node_modules/babel-traverse/lib/scope/index.js:428:27)
    at Scope.&lt;anonymous&gt; (***/node_modules/babel-traverse/lib/scope/index.js:613:18)
    at Scope.registerBinding (***/node_modules/babel-traverse/lib/scope/index.js:627:8)
    at Scope.registerDeclaration (***/node_modules/babel-traverse/lib/scope/index.js:515:14)
    at Object.BlockScoped (***/node_modules/babel-traverse/lib/scope/index.js:165:28)
    at Object.newFn (***/node_modules/babel-traverse/lib/visitors.js:300:17)
    at NodePath._call (***/node_modules/babel-traverse/lib/path/context.js:72:18)
    at NodePath.call (***/node_modules/babel-traverse/lib/path/context.js:40:14)
    at NodePath.visit (***/node_modules/babel-traverse/lib/path/context.js:102:12)"><pre class="notranslate"><code class="notranslate">TypeError: test.js: Duplicate declaration "bar"
  2 |
  3 |   bar() {
&gt; 4 |     let bar = 2
    |         ^
  5 |     console.log(bar)
  6 |   }
  7 | }
    at File.buildCodeFrameError (***/node_modules/babel-core/lib/transformation/file/index.js:409:15)
    at Scope.checkBlockScopedCollisions (***/node_modules/babel-traverse/lib/scope/index.js:428:27)
    at Scope.&lt;anonymous&gt; (***/node_modules/babel-traverse/lib/scope/index.js:613:18)
    at Scope.registerBinding (***/node_modules/babel-traverse/lib/scope/index.js:627:8)
    at Scope.registerDeclaration (***/node_modules/babel-traverse/lib/scope/index.js:515:14)
    at Object.BlockScoped (***/node_modules/babel-traverse/lib/scope/index.js:165:28)
    at Object.newFn (***/node_modules/babel-traverse/lib/visitors.js:300:17)
    at NodePath._call (***/node_modules/babel-traverse/lib/path/context.js:72:18)
    at NodePath.call (***/node_modules/babel-traverse/lib/path/context.js:40:14)
    at NodePath.visit (***/node_modules/babel-traverse/lib/path/context.js:102:12)
</code></pre></div>
<p dir="auto">IMO this code is 100% valid :)</p>
<p dir="auto">Recently, LICENSE files were added to packages/* for Babel 7 and Babel 6 (I think). However, packages/babel-runtime appears to be missing its LICENSE file.</p>
<p dir="auto">Can a LICENSE file please be added to packages/babel-runtime, like with the other packages?</p>