From a4c1e1bdcf3bd295d624c266278670e08227b26b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 8 Apr 2022 12:31:47 -0400 Subject: fix: upgrade to swc_ecmascript 0.143 (#14238) --- cli/tools/repl/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/repl') diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index 825934b5e..43047e585 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -315,7 +315,7 @@ impl Highlighter for EditorHelper { colors::green(&line[span]).to_string() } Token::Regex(_, _) => colors::red(&line[span]).to_string(), - Token::Num(_) | Token::BigInt(_) => { + Token::Num { .. } | Token::BigInt { .. } => { colors::yellow(&line[span]).to_string() } Token::Word(word) => match word { -- cgit v1.2.3