Skip to content

Error during transpilation with certain libraries #6

@Urban-Elf

Description

@Urban-Elf

When running the switch:nro task, the following error is thrown:

Exception in thread "main" com.thelogicmaster.clearwing.TranspilerException: Failed to find super implementation for: class com/github/tommyettinger/ds/Ordered.M_swap
        at com.thelogicmaster.clearwing.BytecodeClass.processHierarchy(BytecodeClass.java:301)
        at com.thelogicmaster.clearwing.BytecodeClass.processHierarchyOrWarn(BytecodeClass.java:219)
        at com.thelogicmaster.clearwing.BytecodeClass.processHierarchy(BytecodeClass.java:232)
        at com.thelogicmaster.clearwing.Transpiler.transpile(Transpiler.java:291)
        at com.thelogicmaster.clearwing.Transpiler.main(Transpiler.java:491)

That's a helper library provided by TommyEttinger from libGDX, used in his SquidSquad library.

I've thoroughly read through the documentation provided in the repository, and haven't been able to remedy the issue myself to the point. Here are some config files for context:

build.gradle fragment (under 'core' project)

  api "com.squidpony:SquidPlace:$squidSquadVersion"
  api "com.squidpony:SquidPath:$squidSquadVersion"
  api "com.squidpony:SquidText:$squidSquadVersion"
  api "com.squidpony:SquidSmooth:$squidSquadVersion"

switch.json:

{
    "mainClass": "com.urbanelf.depths.switchgdx.SwitchLauncher",
    "nonOptimized": [
      "com.github.tommyettinger.ds.*"
    ],
    "reflective": [
      "com.ray3k.tenpatch.TenPatchDrawable"
    ],
    "useStackTraces": true,
    "useLineNumbers": true,
    "useValueChecks": true
}

I'm running Ubuntu 24 on x86_64, if that provides and additional context. If there's something else you need me to add, just ask! Thanks for all your work on this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions