I'm trying to compile a project (see this SO question) using Gobo compiler and its tools and I'm getting error messages refering to standard library equal(..)
. I'm sure that error is somewhere in the code I have and not in standard library but I don't know how to get some more info from geant
. I'd like to know which class, function, line of code from my code invoked equal(..)
or any other standard library function which might call it. And yes, I've already tried going through all equal(..)
s in my code.
Error messages I get are like this:
[CATCALL] class SQL_GENERATOR_TSQL65 (ANY,95,8): type 'STRING_8' of actual argument #1 does not conform to type 'UC_STRING' of formal argument in feature `is_equal' in class 'UC_STRING'
This points to library\free_elks\src\elks\kernel\any.e
:
frozen equal (a: detachable ANY; b: like a): BOOLEAN
-- Are `a' and `b' either both void or attached
-- to objects considered equal?
do
if a = Void then
Result := b = Void
else
Result := b /= Void and then
a.is_equal (b) -- <<<<<<< THIS LINE
end
ensure
definition: Result = (a = Void and b = Void) or else
((a /= Void and b /= Void) and then
a.is_equal (b))
end