Custom Query (1631 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 1631)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#15 fixed let-syntax and letrec-syntax don't recognize local vars in compiled code felix winkelmann Alex Shinn
Description

The following simple module:

(module foo (foo)

(import scheme) (define (foo)

(let ((qux 3))

(let-syntax ((bar (syntax-rules () ((bar) qux))))

(bar)))))

fails to compile with the following error:

Warning: reference to possibly unbound identifier: qux10

Error: module unresolved: foo

Call history:

<syntax> (begin35 (##sys#syntax-error-hook "no rule matches form" input17)) <syntax> (##sys#syntax-error-hook "no rule matches form" input17) <syntax> (##sys#cdr input17) <syntax> (begin45 (bar)) <syntax> (bar) <eval> (##sys#cdr input17) <eval> (##sys#eq? tail27 (quote ())) <eval> (rename26 (syntax qux)) <--

However the same code loads and evalutes fine in the interpreter.

#16 fixed set-file-position! missing Alex Shinn
Description

set-file-position! is no longer available, and (set! (file-position port) value) doesn't provide the same functionality since you can't specify whence.

#17 fixed use of `define-foreign-record-type' expands into incorrect result type identifier felix winkelmann felix winkelmann
Description

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.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.