thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-4625) let / const variable decorators for es6 compiler
Date Thu, 27 Dec 2018 15:25:05 GMT

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

James E. King III closed THRIFT-4625.
-------------------------------------

> 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
>             Fix For: 0.12.0
>
>
> 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)

Mime
View raw message