mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-09 00:14:10 -08:00
This commit is contained in:
parent
1ab1f48d33
commit
1b643a2ad6
|
@ -90,7 +90,7 @@ public class ClassScopedMetadataProviderNativeGenerator implements Generator {
|
||||||
.softNewLine().indent();
|
.softNewLine().indent();
|
||||||
writer.append("return cls.hasOwnProperty(p)").ws().append("?").ws().append("cls[p]").ws().append(":")
|
writer.append("return cls.hasOwnProperty(p)").ws().append("?").ws().append("cls[p]").ws().append(":")
|
||||||
.ws().append("null;").softNewLine();
|
.ws().append("null;").softNewLine();
|
||||||
writer.outdent().append("}").softNewLine();
|
writer.outdent().append("};").softNewLine();
|
||||||
writer.append("return ").appendMethodBody(methodRef).append("(").append(context.getParameterName(1))
|
writer.append("return ").appendMethodBody(methodRef).append("(").append(context.getParameterName(1))
|
||||||
.append(");").softNewLine();
|
.append(");").softNewLine();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user