diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-04-08 12:31:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 12:31:47 -0400 |
commit | a4c1e1bdcf3bd295d624c266278670e08227b26b (patch) | |
tree | 49ca167dc1c867337d834327987c95f72b57b086 /cli/tools/repl/editor.rs | |
parent | e411747e24b998c8178d0689aa7d63b0ad0e7046 (diff) |
fix: upgrade to swc_ecmascript 0.143 (#14238)
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r-- | cli/tools/repl/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |