aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.ts
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2023-01-29 17:40:54 -0600
committerMatt Godbolt <matt@godbolt.org>2023-01-29 17:40:54 -0600
commit2da5d57622bea715a3f521eb52488d833ef4538f (patch)
treedad951f5d444ccbb99f3015c86aa8dc072855c79 /lib/compilers/java.ts
parent4c350ee67b684ac3e40ba07f6a6100cf67a8af2a (diff)
downloadcompiler-explorer-2da5d57622bea715a3f521eb52488d833ef4538f.tar.gz
compiler-explorer-2da5d57622bea715a3f521eb52488d833ef4538f.zip
npm update and prettiergh-6048
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r--lib/compilers/java.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts
index 46820fad0..c3a40f402 100644
--- a/lib/compilers/java.ts
+++ b/lib/compilers/java.ts
@@ -293,7 +293,7 @@ export class JavaCompiler extends BaseCompiler {
for (const codeAndLineNumberTable of codeAndLineNumberTables) {
const method = {
instructions: [],
- } as typeof methods[0];
+ } as (typeof methods)[0];
methods.push(method);
for (const codeLineCandidate of utils.splitLines(codeAndLineNumberTable)) {