[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1155: values and the scrutinizer
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1155: values and the scrutinizer |
Date: |
Thu, 18 Sep 2014 22:37:12 -0000 |
#1155: values and the scrutinizer
-------------------------------+--------------------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: not urgent at all | Milestone: someday
Component: scrutinizer | Version: 4.9.x
Keywords: values |
-------------------------------+--------------------------------------------
The scrutinizer complains a little when faced with values under certain
circumstances. Here are some examples:
{{{
$ echo '(module val () (import scheme) (values))' > val.scm
$ csc val.scm
Warning: at toplevel:
expected in `let' binding of `t10' a single result, but were given zero
results
}}}
{{{
$ echo '(module val () (import chicken scheme) (and-let* ((#t))
(values)))' > al.scm
$ csc al.scm
Warning: at toplevel:
branches in conditional expression differ in the number of results:
(if #t (values) #f)
}}}
Of course, those warnings make sense, but I wonder if there is anything we
can do to improve that situation.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1155>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #1155: values and the scrutinizer,
Chicken Trac <=