From 9e5cb39e797d60199b0e4bb49ba850c1d065ff84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eir=C3=ADkur=20Fannar=20Torfason?= Date: Tue, 27 Dec 2022 19:47:24 +0000 Subject: [PATCH] Tweak generated code to fix tests --- runtime/JavaScript/spec/generatedCode/abc.js | 2 +- runtime/JavaScript/spec/generatedCode/calc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/JavaScript/spec/generatedCode/abc.js b/runtime/JavaScript/spec/generatedCode/abc.js index 9487ddfae2a..2b9fb5a9705 100644 --- a/runtime/JavaScript/spec/generatedCode/abc.js +++ b/runtime/JavaScript/spec/generatedCode/abc.js @@ -24,7 +24,7 @@ export default class abc extends antlr4.Lexer { constructor(input) { super(input) - this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache()); + this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache()); } get atn() { diff --git a/runtime/JavaScript/spec/generatedCode/calc.js b/runtime/JavaScript/spec/generatedCode/calc.js index 1bc43303c2e..af3c66bd0af 100644 --- a/runtime/JavaScript/spec/generatedCode/calc.js +++ b/runtime/JavaScript/spec/generatedCode/calc.js @@ -33,7 +33,7 @@ export default class calc extends antlr4.Lexer { constructor(input) { super(input) - this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache()); + this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache()); } get atn() {