Add map default values (e.g. default = { "foo": 33 })

This commit also adds a bunch of tests testing maps in several
situations.
This commit is contained in:
Lukas Kalbertodt
2022-10-21 18:13:59 +02:00
parent 093957b515
commit d1a62e47eb
21 changed files with 381 additions and 47 deletions

View File

@@ -92,4 +92,3 @@ fn inferred_type() {
assert_eq!(def.parens, vec![1.0, 2.0]);
assert_eq!(def.fallback, std::time::Duration::new(13, 27));
}