Re: proposed patch for orogen/typegen

Sylvain Joyeux <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]>
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 ?

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.

Sylvain
-- 
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.