forbid function declarations that reference block scoped variables

This commit is contained in:
Sebastian McKenzie
2014-10-17 21:19:51 +11:00
parent aeac003dc8
commit 0188556b36
3 changed files with 16 additions and 13 deletions

View File

@@ -0,0 +1,3 @@
{
"throws": "`FunctionDeclaration`s that use `let` and `constant` references aren't allowed outside of the root scope"
}