mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-24 05:26:24 +00:00
update: use debug colors
This commit is contained in:
parent
db12bb1e2d
commit
97cde41592
5 changed files with 21 additions and 19 deletions
|
@ -2,6 +2,7 @@
|
|||
use std::option::Option; // conflicting to Type::Option
|
||||
|
||||
use erg_common::error::{Location, MultiErrorDisplay};
|
||||
use erg_common::style::colors::DEBUG_ERROR;
|
||||
|
||||
use crate::ty::constructors::{and, not, or, poly};
|
||||
use crate::ty::free::{Constraint, FreeKind};
|
||||
|
@ -131,7 +132,7 @@ impl Context {
|
|||
|| self.nominal_supertype_of(lhs, rhs)
|
||||
}
|
||||
};
|
||||
log!("answer: {lhs} {RED}:>{RESET} {rhs} == {res}");
|
||||
log!("answer: {lhs} {DEBUG_ERROR}:>{RESET} {rhs} == {res}");
|
||||
res
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue