remove debug print (#8394)

* remove debug print

* cean up comment too

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2025-11-19 14:21:12 +01:00 committed by GitHub
parent a22ff1ec92
commit 7590df70b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,11 +90,6 @@ test "canonicalizeAndTypeCheckModule preserves Try types in type printing" {
try type_writer.write(map_result_var.?);
const type_str = type_writer.get();
std.debug.print("\nActual type: {s}\n", .{type_str});
// The type should be "Try(a, e), (a -> b) -> Try(b, e)"
// But the bug causes it to be "Error, (a -> b) -> Error"
// Check that the type contains "Try" and not "Error"
try testing.expect(std.mem.indexOf(u8, type_str, "Try") != null);
try testing.expect(std.mem.indexOf(u8, type_str, "Error") == null);