Formatting
This commit is contained in:
@@ -411,7 +411,10 @@ impl Binder {
|
||||
// Global Definition in pattern
|
||||
let mut globals = self.globals.borrow_mut();
|
||||
if globals.contains_key(sym) {
|
||||
return Err(format!("Global variable '{}' is already defined.", sym.name));
|
||||
return Err(format!(
|
||||
"Global variable '{}' is already defined.",
|
||||
sym.name
|
||||
));
|
||||
}
|
||||
let idx = globals.len() as u32;
|
||||
globals.insert(sym.clone(), idx);
|
||||
|
||||
Reference in New Issue
Block a user