Summary

All module exports after interface: are ignored

Metadata

Attachments

Description

As reported by Martin Schneeweis on the chicken-hackers mailing list http://lists.nongnu.org/archive/html/chicken-hackers/2018-07/msg00010.html, there seems to be a problem with exports involving `interface:` forms.

The problem seems to be a simple bug in `##sys#validate-exports`.

Changes and comments

[2018-07-07 11:35:00 UTC] snoewchen wrote:

The mail with a less suspicious example ("export" dropped from export-forms) http://lists.nongnu.org/archive/html/chicken-hackers/2018-07/msg00012.html

Chicken 4.13 has the same problem

Attached Example: two-should-not.scm compiles without a message

 csc -shared -emit-all-import-libraries two-should-not.scm

Expected message:

 Warning: exported identifier of module `two-should-not' has not been defined: some-b

[2018-07-07 11:38:52 UTC] snoewchen attached two-should-not.scm (description=Example referenced by my comment)

[2018-07-16 08:28:32 UTC] evhan changed status from new to closed

[2018-07-16 08:28:32 UTC] evhan set resolution to fixed

[2018-07-16 08:28:32 UTC] evhan wrote:

Fixed by 69a3f493 (master) and b0ad8f84 (chicken-4).