Skip to content

Commit 1999323

Browse files
authored
fix compiler
1 parent 6b93cc7 commit 1999323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/mods/Hileb/shotaasm/impl/ShotaCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public Runnable compile(ScriptFile file) {
3030
.append("import org.objectweb.asm.commons.*;")
3131
.append("import org.objectweb.asm.signature.*;")
3232
.append("import static org.objectweb.asm.Opcodes.*;")
33-
.append("public ").append(singleName).append(" implements Runnable { ")
33+
.append("public class ").append(singleName).append(" implements Runnable { ")
3434
.append(" public void run() { ")
3535
.append(file.text())
3636
.append("}}");

0 commit comments

Comments
 (0)