Make AST output red
This commit is contained in:
parent
5cb8423ecc
commit
4bb8f82579
@ -77,7 +77,7 @@ pub struct TraceArtifact {
|
|||||||
impl TraceArtifact {
|
impl TraceArtifact {
|
||||||
pub fn new(stage: &str, debug: String) -> TraceArtifact {
|
pub fn new(stage: &str, debug: String) -> TraceArtifact {
|
||||||
let color = match stage {
|
let color = match stage {
|
||||||
"parse_trace" => "red",
|
"parse_trace" | "ast" => "red",
|
||||||
"tokens" => "green",
|
"tokens" => "green",
|
||||||
"type_check" => "magenta",
|
"type_check" => "magenta",
|
||||||
_ => "blue",
|
_ => "blue",
|
||||||
|
Loading…
Reference in New Issue
Block a user