Opened 12 days ago

Closed 3 days 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
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 12 days ago.
Example referenced by my comment

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 days 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 12 days ago by snoewchen

Example referenced by my comment

comment:2 Changed 3 days ago by evhan

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.