Re: scope of global type function
- Posted by mattlewis (admin) Jan 21, 2009
- 835 views
PtitChaud said...
I'm trying to use Eu4.02a with my application wrote with Eu3.1.
I've the error in ex.err file : "type_check failure" when i comment the include statement in the test_variable_type.ew programme. Is it a misunderstood of the scope of the global type function or a bug in Eu4.0 ?
No, you correctly understand the global scope. This is bug #22, which has been fixed in the svn repository.
It should be noted, however, that while leaving out the include statement is valid euphoria code, it's better to have the include statement.
Matt