"exported but never defined" error when using srfi import alongside local module import
I have come across an issue where using an srfi style import seems to break the module system, simply removing the import line results in successful execution:
$ cat module0.scm importing0.scm
(module-name (module0))
(export say)
(import (srfi 69 basic-hash-tables)) ; comment this out and the program runs successfully
(define (say name)
(format #t "Hello, ~a~%" name))
(module-name (importing0))
(import (module0))
(export say)
(say "Carl")
$ kawa importing0.scm
importing0.scm:3:9: 'say' exported but never defined
$ kawa --version
Kawa 3.1.1 (git describe: 3.1.1-99-g3bca673bd)
Copyright (C) 2020 Per Bothner
I suppose the place to look is kawa/standard/ImportFromLibrary.java
, however I haven't gotten any further so far.
Thanks, Carl