You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Satoshi Tagomori <ta...@gmail.com> on 2014/01/09 09:29:16 UTC
Javascript variable scope
Hi,
I'm user of thrift for node.js, and I have troubles about variable scopes of
generated node.js code by thrift-0.9.1.
I found this issue, but this patch is not merged yet.
https://issues.apache.org/jira/browse/THRIFT-1840
This issue is forgotten? Or any other reasons?
--
tagomoris (TAGOMORI Satoshi)
Mail: tagomoris@gmail.com
Re: Javascript variable scope
Posted by Henrique Mendonça <he...@apache.org>.
Awesome! but please have a look on the upcoming patches for 0.9.2 (e.g.
https://issues.apache.org/jira/browse/THRIFT-2205) or we'll have loads of
conflicts
http://thrift.apache.org/docs/HowToContribute/
you might also want to join the dev list...
Cheers,
Henrique
On 9 January 2014 12:52, Satoshi Tagomori <ta...@gmail.com> wrote:
> Hi Henrique,
>
> Thank you for your reply! I see why that patch have not been merged.
> Of course I know about namespace, but I want to get good code from thrift.
>
> I'll try to make patch that works and doesn't break tests later.
>
>
> 2014/1/9 Henrique Mendonça <he...@apache.org>
>
> > Hi Satoshi,
> >
> > it breaks the unit tests, so it can't be merged!
> > Are you using a namespace? That would probably solve you problem.
> >
> > - Henrique
> >
> >
> > On 9 January 2014 09:29, Satoshi Tagomori <ta...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I'm user of thrift for node.js, and I have troubles about variable
> scopes
> > > of
> > > generated node.js code by thrift-0.9.1.
> > >
> > > I found this issue, but this patch is not merged yet.
> > >
> > > https://issues.apache.org/jira/browse/THRIFT-1840
> > >
> > > This issue is forgotten? Or any other reasons?
> > > --
> > > tagomoris (TAGOMORI Satoshi)
> > > Mail: tagomoris@gmail.com
> > >
> >
>
>
>
> --
> 田籠 聡 (TAGOMORI Satoshi)
> Mail: tagomoris@gmail.com
>
Re: Javascript variable scope
Posted by Satoshi Tagomori <ta...@gmail.com>.
Hi Henrique,
Thank you for your reply! I see why that patch have not been merged.
Of course I know about namespace, but I want to get good code from thrift.
I'll try to make patch that works and doesn't break tests later.
2014/1/9 Henrique Mendonça <he...@apache.org>
> Hi Satoshi,
>
> it breaks the unit tests, so it can't be merged!
> Are you using a namespace? That would probably solve you problem.
>
> - Henrique
>
>
> On 9 January 2014 09:29, Satoshi Tagomori <ta...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm user of thrift for node.js, and I have troubles about variable scopes
> > of
> > generated node.js code by thrift-0.9.1.
> >
> > I found this issue, but this patch is not merged yet.
> >
> > https://issues.apache.org/jira/browse/THRIFT-1840
> >
> > This issue is forgotten? Or any other reasons?
> > --
> > tagomoris (TAGOMORI Satoshi)
> > Mail: tagomoris@gmail.com
> >
>
--
田籠 聡 (TAGOMORI Satoshi)
Mail: tagomoris@gmail.com
Re: Javascript variable scope
Posted by Henrique Mendonça <he...@apache.org>.
Hi Satoshi,
it breaks the unit tests, so it can't be merged!
Are you using a namespace? That would probably solve you problem.
- Henrique
On 9 January 2014 09:29, Satoshi Tagomori <ta...@gmail.com> wrote:
> Hi,
>
> I'm user of thrift for node.js, and I have troubles about variable scopes
> of
> generated node.js code by thrift-0.9.1.
>
> I found this issue, but this patch is not merged yet.
>
> https://issues.apache.org/jira/browse/THRIFT-1840
>
> This issue is forgotten? Or any other reasons?
> --
> tagomoris (TAGOMORI Satoshi)
> Mail: tagomoris@gmail.com
>