TestingWithFrank/Frank

Operations returning a BOOL broken

Opened this issue · 0 comments

Calling a method using frankly_map has an invalid return value when the method returns a BOOL.

Broken by this commit 947f287

The result is that booleans are returned to ruby as integers. Unfortunately, all integers in ruby are false breaking a lot of the test code.

I understand that @encode(BOOL) == @encode(signed char) but I think that BOOL is much more often used as a return value than a signed char.