Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit a50f44d

Browse files
committed
Fix assert: run arity is always 0
1 parent d7498fb commit a50f44d

File tree

1 file changed

+1
-1
lines changed
  • liblumen_eir_interpreter/src

1 file changed

+1
-1
lines changed

liblumen_eir_interpreter/src/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn main() {
6868

6969
let module = Atom::try_from_str(&ident.module.as_str()).unwrap();
7070
let function = Atom::try_from_str(&ident.name.as_str()).unwrap();
71-
assert!(ident.arity == 1);
71+
assert!(ident.arity == 0);
7272

7373
for file in matches.values_of("LOAD_ERL_FILES").unwrap() {
7474
let config = ParseConfig::default();

0 commit comments

Comments
 (0)