chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] [PATCH] Fix a minor type warning when compiling librar


From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix a minor type warning when compiling library.scm
Date: Sun, 13 Aug 2017 13:20:42 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hi all,

Here's a simple patch to get rid of the following warning:
Warning: at toplevel:
  assignment of value of type `(procedure print-call-chain (#!rest) (or pair 
null))' to toplevel variable `print-call-chain' does not match declared type 
`(procedure print-call-chain (#!optional (refine (output) port) fixnum * 
string) undefined)'

Alternatively, we could change the type to match the implementation,
but then we should also document the fact that the call chain is
returned.  This doesn't make much sense to me.

Cheers,
Peter

Attachment: 0001-Make-print-call-chain-match-the-declared-type-in-typ.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

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