Summary

bug with define-type and modules

Metadata

Description

Moving the define-type outside the modules makes the following work.

 (module
  foo
  *
  (import chicken scheme)
 
  (define-type footype string)
 
  (the footype "bar"))
 
 ; Error: invalid type specification: footype

Changes and comments

[2012-07-07 11:59:55 UTC] sjamaan changed milestone from 4.9.0 to 4.8.0

[2012-07-07 11:59:55 UTC] sjamaan wrote:

Bugfix with explanation posted to chicken-hackers. The fix itself is pretty trivial, so I think we can get this in for 4.8.0; moving milestone.

[2012-07-08 00:08:52 UTC] sjamaan changed status from new to closed

[2012-07-08 00:08:52 UTC] sjamaan set resolution to fixed

[2012-07-08 00:08:52 UTC] sjamaan wrote:

Fixed with d6845c138174d13c12406c4297f83ee80ad15dca

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted