﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
17	use of  `define-foreign-record-type' expands into incorrect result type identifier	felix winkelmann	felix winkelmann	"Shawn Rutledge reported this problem:

{{{
(module foo *

(import scheme chicken foreign)
(use foreigners)

(define-foreign-record-type (vtable ""struct DBusObjectPathVTable"")
  (c-pointer dbus_internal_pad4 vtable-dbus_internal_pad4 vtable-dbus_internal_pad4-set!))

)
}}}

gives:

{{{
Error: illegal foreign return type `#%void'
}}}

I assume that there is some bug in either the `foreigners` extension or the interplay of `define-foreign-record-type`
and the core FFI is wrong, or that the compiler does not
strip-syntax a type-identifier somewhere.
"	defect	closed	critical		compiler	4.0.1	fixed	foreigners	Jim Ursetto	
