You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.
Source files in both src/java and src/kola with Kola files depending on the Java files.
Issue
The Kola compiler never sees the Java files, as they are simply passed along to the Java compiler later, but since they are not compiled they can't be included in the classpath for the Kola compiler, hence the files can't be referenced from the Kola files.
This is a chicken and egg problem, assuming that the Java files should also be able to reference Kola files, that would mean that both need to go through both compilers.
Possible Fix
Add a special Java file path to the Kola compiler and pass the Java files there to be parsed and interpreted but never written back, because otherwise debugging gets very confusion as all the line numbers will be off.
Workaround
Copy Java files referenced by Kola files to src/kola, so they are handled by the Kola compiler first.
Status
Won't fix for now. I might change my mind on this later, so I'll just keep the issue for reference.
The text was updated successfully, but these errors were encountered:
Setup
Source files in both src/java and src/kola with Kola files depending on the Java files.
Issue
The Kola compiler never sees the Java files, as they are simply passed along to the Java compiler later, but since they are not compiled they can't be included in the classpath for the Kola compiler, hence the files can't be referenced from the Kola files.
This is a chicken and egg problem, assuming that the Java files should also be able to reference Kola files, that would mean that both need to go through both compilers.
Possible Fix
Add a special Java file path to the Kola compiler and pass the Java files there to be parsed and interpreted but never written back, because otherwise debugging gets very confusion as all the line numbers will be off.
Workaround
Copy Java files referenced by Kola files to src/kola, so they are handled by the Kola compiler first.
Status
Won't fix for now. I might change my mind on this later, so I'll just keep the issue for reference.
The text was updated successfully, but these errors were encountered: