[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1294: define-record-printer messes with internal
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1294: define-record-printer messes with internal defines |
Date: |
Thu, 25 Aug 2016 18:42:28 -0000 |
#1294: define-record-printer messes with internal defines
---------------------------------+--------------------
Reporter: sjamaan | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.12.0
Component: expander | Version: 4.11.0
Resolution: | Keywords:
Estimated difficulty: hard |
---------------------------------+--------------------
Description changed by sjamaan:
Old description:
> As pointed out by russelw on IRC, the following program fails to compile
> (and doesn't work in the interpreter, either):
>
> {{{
> #!scm
> (module main ()
> (import chicken)
> (import scheme)
>
> (define (h)
> (define (f)
> (g))
>
> (define-record-printer (foo x port)
> #f)
>
> (define (g)
> (f))))
> }}}
>
> This is probably similar to #1274.
New description:
As pointed out by russelw on IRC, the following program fails to compile
(and doesn't work in the interpreter, either):
{{{
#!scm
(module main ()
(import chicken)
(import scheme)
(define (h)
(define (f)
(g))
(define-record-printer (foo x port)
#f)
(define (g)
(f))))
}}}
This is probably similar to #1274 and #1309.
--
--
Ticket URL: <https://bugs.call-cc.org/ticket/1294#comment:4>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.