Fix annotated defs in repl

This commit is contained in:
Richard Feldman 2022-10-30 13:32:33 -04:00
parent daa87093ca
commit 0c8f6a0a72
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
3 changed files with 117 additions and 20 deletions

View file

@ -38,11 +38,7 @@ fn annotated_body() {
input.push_str("t = A");
incomplete(&mut input);
let mut state = ReplState::new();
complete(&input, &mut state, Ok(("A : [A]*", "t")));
complete(&input, &mut ReplState::new(), Ok(("A : [A, B, C]", "t")));
}
#[test]