mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
fix: typo
This commit is contained in:
parent
138afe2af4
commit
ce6a6dbecd
2 changed files with 4 additions and 4 deletions
|
@ -946,7 +946,7 @@ impl LowerError {
|
|||
Some(hint.to_string())
|
||||
}
|
||||
(None, Some(py)) => {
|
||||
py_str.push_str("similar name python module exits: ");
|
||||
py_str.push_str("similar name python module exists: ");
|
||||
py_str.push_str_with_color_and_attr(py, HINT, ATTR);
|
||||
let mut hint = StyledStrings::default();
|
||||
hint.push_str("to import python modules, use ");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
result = if Bool.sample():
|
||||
0
|
||||
1
|
||||
result = if Bool.sample!():
|
||||
do 0
|
||||
do 1
|
||||
print! result
|
||||
|
||||
if True, () -> log "hello"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue