Fix Map formatting (#1312)

This commit is contained in:
Islon Scherer
2025-11-11 09:37:09 +01:00
committed by GitHub
parent 445d94ccff
commit ecf2d8ba33
3 changed files with 50 additions and 6 deletions

View File

@@ -2,3 +2,19 @@
foo = Map(1000, "some random string", 20000, "another random string", 30000, "yet another random string")
incorrect = Map("This has", 1000000, "an incorrect number", 2000000, "of parameters", 30000000, "passed to Map")
bar =
Map(
// leading
1,
2,
// between
3,
4, // trailing
5,
6,
7, // mid
8,
9,
10
)

View File

@@ -12,3 +12,15 @@ incorrect =
"of parameters", 30000000,
"passed to Map",
)
bar =
Map(
// leading
1, 2,
// between
3, 4, // trailing
5, 6,
7, // mid
8,
9, 10,
)