mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Add AtomicStr
This commit is contained in:
parent
fb36c0d633
commit
fe1b0fab70
11 changed files with 300 additions and 105 deletions
|
@ -4,6 +4,7 @@
|
|||
use std::fmt;
|
||||
use std::process;
|
||||
|
||||
use erg_common::astr::AtomicStr;
|
||||
use erg_common::cache::CacheSet;
|
||||
use erg_common::config::{ErgConfig, Input};
|
||||
use erg_common::error::{Location, MultiErrorDisplay};
|
||||
|
@ -1220,7 +1221,7 @@ impl CodeGenerator {
|
|||
self.cfg.input.clone(),
|
||||
unary.op.loc(),
|
||||
"",
|
||||
unary.op.content.clone(),
|
||||
AtomicStr::from(unary.op.content),
|
||||
));
|
||||
NOT_IMPLEMENTED
|
||||
}
|
||||
|
@ -1267,7 +1268,7 @@ impl CodeGenerator {
|
|||
self.cfg.input.clone(),
|
||||
bin.op.loc(),
|
||||
"",
|
||||
bin.op.content.clone(),
|
||||
AtomicStr::from(bin.op.content),
|
||||
));
|
||||
NOT_IMPLEMENTED
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue