Class2.scm:4:4: caught exception in inliner for #<procedure gnu.kawa.functions.AppendValues> - java.lang.RuntimeException: no such class: Class1
I can avoid the exception:
- removing the type declaration
- using `(load "Class2.scm")` instead of `(include "Class2.scm")` in foobar.sld
At the moment I'm using the second option and it works fine for me.
The thing that made me ask instead of assuming this is the expected behavior is that it's ok to use Class1 as a superclass of Class2, so Class2 does "see" Class1. For example, this does not raise an exception:
(define-simple-class Class2 (Class1)
(set! x (Class1))))
So my question is: am I doing it the wrong way or is it a Kawa issue? Should I open an issue in the Kawa repo?