If for some reason we're missing java.lang.Object mapping during import, fail eagerly #195
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Java2Swift
Due to dependencies behaving weirdly in plugins the JavaKit dependency was not pulled unless more things were spelled out explicitly...
This resulted in a generated file like:
which will fail to compile because we need the:
form.
If we're ever generating code and we're missing
JavaObject
we should just immediately crash rather than hide the error futher along the build as it can be hard to diagnose what actually went wrong -- but it was a missing dependency on the swift-java file that declared java.lang.object.The text was updated successfully, but these errors were encountered: