Add (broken) import all test

This commit is contained in:
greg 2019-10-18 09:53:44 -07:00
parent 854740a63f
commit f9633ebe55

View File

@ -258,3 +258,12 @@ milta()(10)
"#;
test_in_fresh_env!(source, "43");
}
#[test]
fn import_all() {
let source = r#"
type Option<T> = Some(T) | None
import Option::*
let x = Some(9); if x is Some(q) then { q } else { 0 }"#;
test_in_fresh_env!(source, "9");
}