Fix repl tests

This commit is contained in:
ayazhafiz 2022-02-06 12:44:31 -05:00
parent c5d918e68c
commit 364d2585df
2 changed files with 6 additions and 3 deletions

View file

@ -1166,6 +1166,9 @@ fn num_to_ast<'a, A: ReplApp>(
num_to_ast(env, num_expr, content)
}
RangedNumber(typ, _) => {
num_to_ast(env, num_expr, env.subs.get_content_without_compacting(*typ))
}
other => {
panic!("Unexpected FlatType {:?} in num_to_ast", other);
}