liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Liberty-eiffel] Inline agent


From: Paolo Redaelli
Subject: [Liberty-eiffel] Inline agent
Date: Fri, 19 Feb 2016 10:01:53 +0100

I always overlooked this.
My code is full of inline agents like this:

headers.for_each(agent (a_string: ABSTRACT_STRING) do
   .... some stuff...
   std_error.put_string(a_string)
   ...
   end)

And the compiler tells me

****** Warning: Please consider writing an explicit open argument list for your agent creation.

Line 203 column 36 in WRAPPERS_GENERATOR (/home/paolo/current-liberty/src/tools/wrappers-generator/wrappers_generator.e):
                  headers.for_each(agent (a_string: ABSTRACT_STRING)


I perfectly know it's a silly question.... who is right? Me or the compiler?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]