fix: array type inffering

This commit is contained in:
Shunsuke Shibayama 2023-10-16 23:16:39 +09:00
parent 7cd3bce9f1
commit 5096843bc5
7 changed files with 142 additions and 51 deletions

View file

@ -503,6 +503,14 @@ macro_rules! log {
}
}};
(caller) => {{
if cfg!(feature = "debug") {
use $crate::style::*;
$crate::debug_info!();
println!("\n{}", std::panic::Location::caller());
}
}};
($($arg: tt)*) => {{
if cfg!(feature = "debug") {
use $crate::style::*;