mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 18:29:00 +00:00
fix: array type inffering
This commit is contained in:
parent
7cd3bce9f1
commit
5096843bc5
7 changed files with 142 additions and 51 deletions
|
@ -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::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue