-
Notifications
You must be signed in to change notification settings - Fork 518
Closed
Description
When exporting the jar i issued this error: Invalid name (must be a valid unqualified name): <init>
To Reproduce
Steps to reproduce the behavior:
- Open any function in assembler
- Add a new statement
- Invoke
- Export
- See error
Here's my code:
ASTORE r
ALOAD r
SIPUSH 1000
INVOKEVIRTUAL com/badlogic/gdx/graphics/glutils/ShapeRenderer.<init>(I)V
ALOAD this
GETFIELD com/desertkun/brainout/AuX/aux/jh.visible Z
IFEQ A
ALOAD 1
GETSTATIC com/badlogic/gdx/graphics/Color.WHITE Lcom/badlogic/gdx/graphics/Color;
INVOKEVIRTUAL com/badlogic/gdx/graphics/g2d/SpriteBatch.setColor(Lcom/badlogic/gdx/graphics/Color;)V
GOTO B
LABEL A
ALOAD 1
GETSTATIC com/badlogic/gdx/graphics/Color.RED Lcom/badlogic/gdx/graphics/Color;
INVOKEVIRTUAL com/badlogic/gdx/graphics/g2d/SpriteBatch.setColor(Lcom/badlogic/gdx/graphics/Color;)V
ALOAD r
GETSTATIC com/badlogic/gdx/graphics/glutils/ShapeRenderer$ShapeType.Line Lcom/badlogic/gdx/graphics/glutils/ShapeRenderer$ShapeType;
INVOKEVIRTUAL com/badlogic/gdx/graphics/glutils/ShapeRenderer.begin(Lcom/badlogic/gdx/graphics/glutils/ShapeRenderer$ShapeType;)V
ALOAD r
GETSTATIC com/badlogic/gdx/graphics/Color.RED Lcom/badlogic/gdx/graphics/Color;
INVOKEVIRTUAL com/badlogic/gdx/graphics/glutils/ShapeRenderer.setColor(Lcom/badlogic/gdx/graphics/Color;)V
ALOAD r
ALOAD this
INVOKEVIRTUAL com/desertkun/brainout/AuX/aux/jh.getX()F
ALOAD this
INVOKEVIRTUAL com/desertkun/brainout/AuX/aux/jh.getY()F
LDC 10.0f
INVOKEVIRTUAL com/badlogic/gdx/graphics/glutils/ShapeRenderer.circle(FFF)V
ALOAD r
INVOKEVIRTUAL com/badlogic/gdx/graphics/glutils/ShapeRenderer.end()V
LABEL B
ALOAD this
ALOAD 1
ALOAD 2
INVOKESPECIAL com/desertkun/brainout/AuX/ar.do(Lcom/badlogic/gdx/graphics/g2d/SpriteBatch;Lcom/desertkun/brainout/AuX/cOn/ao;)V
RETURN
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels