chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] scrutinizer warning in dotted argument notation when usi


From: Hugo Arregui
Subject: [Chicken-users] scrutinizer warning in dotted argument notation when using units
Date: Sun, 4 Aug 2013 13:50:06 -0300

Hi!

I noticed this warning using the latest version from master:

;test.scm
(use data-structures)
(flatten '(1 2 3) '(4 5 6) '(7))

address@hidden test]$ csc test.scm

Warning: at toplevel:
  (test.scm:3) in procedure call to `flatten', expected 1 argument,
but was given 3 arguments

Is also easily reproducible with any file included as unit, declaring
a procedure using dotted argument notation. This is not happening if
the procedure is defined in the same file. I'm not sure why.

I take a look at scrutinizer.scm just to learn how it works, and I'm
sending a patch, but I'm not sure if its correct.

(Also, if someone is in teaching mood:
1) debugging the scrutinizer I found sometimes procedures or vars are
replaced with '*, what does it means?
2) if someone figures out.. why is this not happening on procedures in
the same file? )

Regards,
Hugo

Attachment: scrutinizer.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]