You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2018/09/28 14:29:00 UTC

[jira] [Assigned] (THRIFT-4625) let / const variable decorators for es6 compiler

     [ https://issues.apache.org/jira/browse/THRIFT-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King III reassigned THRIFT-4625:
-----------------------------------------

    Assignee: James E. King III

> let / const variable decorators for es6 compiler
> ------------------------------------------------
>
>                 Key: THRIFT-4625
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4625
>             Project: Thrift
>          Issue Type: Improvement
>          Components: JavaScript - Compiler, Node.js - Compiler
>            Reporter: Brian Forbis
>            Assignee: James E. King III
>            Priority: Minor
>
> With support for the ES6 compiler, variables should be scoped using the ES6 *let* and *const* variable decorators to define variable scoping and read/write behavior.
> This brings the generated code into compliance with the [no-var|https://eslint.org/docs/rules/no-var] eslint rule.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)