Re: proposed patch for orogen/typegen

Peter Soetens <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAMYDobW9pyCmWxy26pRE+-fbE-KZE6KDryBYvXO8EKecyQvaGg@mail.gmail.com>
On Fri, Feb 1, 2013 at 2:45 PM, Sylvain Joyeux <[email protected]> wrote:
> Ah AH! Now I remember why I was so puzzled.
>
> None of the git versions of typegen I looked (rock master, orocos master,
> orocos toolchain 2.4, 2.5 and 2.6) have this !pkg.typelist. I guess someone
> added it there "because it was nil" ('typelist' disappeared for quite a long
> time), hiding the actual bug.
>
> Where did this come from ? What version are you using ?

Sorry, patch I made yesterday on my local copy:-) It was indeed nil,
so I added a check. Indeed, the check must be there since the user can
provide a library, in which case it may be nill.

>
>
> Now the code is correctly generated, but I don't know if this is not
> obfuscating a deeper-down bug...
>
> Nope. This patch is doing the right thing. You just should not test for
> !empty?. Commit that to master, I'll take care of fixing -x.

Ok, got it.

Peter
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.