agemogolk/clay — comment on commit 19ea25fd8f2e53ac175245e162f97a1b4460b8ed
File:  line 0
By agemogolk:

Sure, I'll look at adding a few tests for some of the stuff i've been
adding. Probably be next week though as I'm pretty busy for a few days,
just really needed random generation to work.

btw, bindgen doesn't build (at least on my platform).

[ 92%] Built target clay
[ 92%] Generating clay-bindgen
###############################
[..In, ..Out, fn | CallDefined?(fn, ..In)]
inline overload CCodePointer[[..In], [..Out]](static fn) :
CCodePointer[[..In], [..Out]]
= makeCCodePointer(fn, ..In);
------^

###############################
/home/jeremy/Dev/clay/projects/clay/lib-clay/pointers/pointers.clay(256,6):
error: argument 1: expected CCodePointer[[Struct_Unnamed4,
Struct_Unnamed4, Pointer[UInt8]], [UInt8]] type, but received
CCodePointer[[Struct_Unnamed4, Struct_Unnamed4, Pointer[UInt8]],
[Int32]] type

compilation context:
CCodePointer[[Struct_Unnamed4, Struct_Unnamed4, Pointer[UInt8]],
[UInt8]](Static[visitToplevel])
main(Int32, Pointer[Pointer[Int8]])
getExitCode(Int32)
callMain(Static[main])
make[2]: *** [tools/clay-bindgen] Error 255
make[1]: *** [tools/CMakeFiles/clay-bindgen.dir/all] Error 2
make: *** [all] Error 2

On 01/12/11 02:14, Joe Groff wrote:
> Good catch. Would you mind adding some tests?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/agemogolk/clay/commit/19ea25fd8f2e53ac175245e162f97a1b4460b8ed#commitcomment-759911