« Return to Thread: Not sure if I should send a bug report

Not sure if I should send a bug report

by Chris Saunders-4 :: Rate this Message:

Reply to Author | View in Thread

I created a small project to test a problem I was having with a larger one.
I created a default Vision application and I placed an EV_LIST in the
`main_container' that the IDE created.  Here is a bit of the code that I
used for testing:

 

 

feature -- Access

 

                list: EV_LIST

 

                list_strings: ARRAY [STRING_32] is

                                                -- Array of strings for
`list'.

                                once

                                                create Result.make (1, 3)

                                                Result.put ("string 1", 1)

                                                Result.put ("string 2", 2)

                                                Result.put ("string 3", 3)

                                end

 

At the bottom of `initialize' I put:

 

                                                create list

                                                main_container.extend (list)

                                                list.set_strings
(list_strings)

 

The application stop with the error "Catcall detected for  argument#1
`test': expected type#2280 FUNCTION [ANY, TUPLE [G#1], BOOLEAN] but got
type#2278".  In the larger project I was working on I got a similar error
under similar circumstances.  It does not seem to me that ` list.set_strings
(list_strings)' should be the source of a catcall.  Am I missing something
or should I make a bug report?

 

Here is the call stack:

 

Call stack:

 

ObjectClassRoutine

------------------

[0x3850BC0] ARRAYED_LIST for_all (From LINEAR) ( @ 0 )

[0x3850BC8] EV_LIST set_strings (From EV_LIST_ITEM_LIST) ( @ 3 )

[0x3850BD0] MAIN_WINDOW default_create (From EV_ANY) ( @ 6 )

 

Regards

Chris Saunders



[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

 « Return to Thread: Not sure if I should send a bug report