Change: color.rs to style.rs

This commit is contained in:
GreasySlug 2022-10-29 14:17:17 +09:00
parent 5eb1863e92
commit e29eb0b6ed
8 changed files with 128 additions and 19 deletions

View file

@ -7,8 +7,8 @@ use crate::ty::constructors::{and, mono};
use crate::ty::value::{EvalValueResult, GenTypeObj, TypeObj, ValueObj};
use crate::ty::ValueArgs;
use erg_common::astr::AtomicStr;
use erg_common::color::{RED, RESET, YELLOW};
use erg_common::error::{ErrorCore, ErrorKind, Location};
use erg_common::style::{RED, RESET, YELLOW};
/// Requirement: Type, Impl := Type -> ClassType
pub fn class_func(mut args: ValueArgs, ctx: &Context) -> EvalValueResult<ValueObj> {

View file

@ -1,10 +1,10 @@
use std::fmt::Display;
use erg_common::astr::AtomicStr;
use erg_common::color::{GREEN, RED, RESET, YELLOW};
use erg_common::config::Input;
use erg_common::error::{ErrorCore, ErrorDisplay, ErrorKind::*, Location, MultiErrorDisplay};
use erg_common::set::Set;
use erg_common::style::{GREEN, RED, RESET, YELLOW};
use erg_common::traits::{Locational, Stream};
use erg_common::vis::Visibility;
use erg_common::{