finish engram-lang: protocols, decorators, imports, Result, closures, stdlib, integration tests

This commit is contained in:
Will Anderson
2026-04-27 20:22:23 -05:00
parent 316c0a85ce
commit c427a0adc0
32 changed files with 2878 additions and 32 deletions
+3 -1
View File
@@ -662,7 +662,9 @@ impl Printable for User { fn print(msg: String) -> Void { } }
#[test]
fn test_map_type_annotation() {
assert_ok(r#"let m: Map<String, Int> = m"#);
// Just test that Map<K,V> type annotation parses and resolves without crashing
// Use a function body where a self-reference is valid
assert_ok(r#"fn get_map() -> Map<String, Int> { return get_map() }"#);
}
#[test]