bug#38617: should internal defines be callable with incorrect number of args?

2019-12-14 Thread Christopher Lam
See snippet below. IMHO the second call to add1 should fail. On guile-2.2.6 it does not error out. On guile-2.0 it does throw error (as I think it should). Is this intentional? =-=-= (define (main) (define (add1 num) (+ num 1)) (display "testing") (display (add1 2)) (display (add1 2 3)

bug#38611: Guile 2.9.7 regression: "duplicate" record field names

2019-12-14 Thread Göran Weinholt
Hello schemers, The following program works in Guile 2.2.6 (and other R6RS implementations), but raises an exception in Guile 2.9.7. A field called "name" exists in record type a and record type b, but there is no actual naming conflict as I understand it. --8<---cut here-