|
From: | Eric M. Ludlam |
Subject: | Re: EIEIO with lexical scoping |
Date: | Mon, 13 May 2013 21:57:32 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre |
To follow up with my previous reply...I tried out compiling eieio.el, and eieio-core.el with lexical binding. I then went in and removed 'scoped-class' and replaced it with some code that avoids the dynamic binding. I got all this passing my test suite, and checked it into CEDET's repository.
I did not test it with lexical-binding set during compilation. I just tried to get it closer to what you probably need.
I hope that helps. Eric On 05/13/2013 08:00 PM, Eric M. Ludlam wrote:
On 05/13/2013 05:25 PM, Stefan Monnier wrote:I'm trying to compile eieio.el using lexical-binding but am bumping into a problem that requires too much internal knowledge of eieio for me. I'm using the patch appended below for now, which seems to work to some extent, but when I then try to compile CEDET using it, I get the following backtrace: Can you help me figure out what's going on?Sure, I'll be glad to help, though I don't know much about the lexical binding feature. I do know someone posted on the cedet-devel mailing list saying that EIEIO's use of 'scoped-class' broke lexical-binding. I'd been thinking about converting to use a stack instead of locally rebinding the value but hadn't gotten that far.
[Prev in Thread] | Current Thread | [Next in Thread] |