Opened 6 years ago

Closed 6 years ago

#1482 closed defect (fixed)

All module exports after interface: are ignored

Reported by: megane Owned by:
Priority: major Milestone: someday
Component: compiler Version: 5.0.0
Keywords: modules export interface Cc:
Estimated difficulty: trivial

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.

Attachments (1)

two-should-not.scm (208 bytes) - added by snoewchen 6 years ago.
Example referenced by my comment

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by snoewchen

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

Changed 6 years ago by snoewchen

Attachment: two-should-not.scm added

Example referenced by my comment

comment:2 Changed 6 years ago by evhan

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.