Re[4]: Yay for me, found an interpreter bug!

new topic     » topic index » view thread      » older message » newer message

Sorry for all who have tested this, I didn't test it before posting.
I meant slash instead of backslash.

So:

   include namespacebugtest.e as TEST1
   include ./namespacebugtest.e as TEST2
   include ././namespacebugtest.e as TEST3
   include ./././namespacebugtest.e as TEST4

It works on both eu 2.3 and eu 2.4.

Thanks!

AG> Hello Aku,

AG> I havent found this to work right.

AG> Here are the two files used to test:

AG> --tn.ew-------------
AG> global atom x
AG> --------------------

AG> --testincl.ew----------------
AG> include file.e

AG> include tn.ew as Test1
AG> include .\tn.ew as Test2

AG> Test2:x=3
AG> Test1:x=2

AG> ?Test2:x --prints a "2"

AG> sleep(4)
AG> ---------------------------

AG> The test is simple: if the printout is a "3"
AG> the two files were treated as separate instances,
AG> but if not, a "2" is printed out.  Since a "2"
AG> was indeed printed out, they were not treated 
AG> as separate instances.

AG> What Eu version/platform are you running?
AG> Mine is Eu2.4 on XP.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu