8185257: Nashorn AST is missing nodes when a for-loop contains a VariableDeclarationList

Var declaration in for loop removed from block scope in es6 mode

Reviewed-by: hannesw, sundar
4 files changed