Skip to content

Commit 868af30

Browse files
committed
Revert removing a DiffTests regression
1 parent ed1efa5 commit 868af30

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

shared/src/test/diff/codegen/Terms.mls

+2-8
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,11 @@ case A { a = 0 } of
344344

345345
// With
346346
{} with {}
347+
:js
347348
rcd1 = { x = "a"; y = "b" }
348349
rcd2 = rcd1 with { x = 1; z = 2 }
349350
(rcd1.x, rcd1.y, rcd2.x, rcd2.y, rcd2.z)
350-
//│ res: anything
351-
//│ = {}
352-
//│ rcd1: {x: "a", y: "b"}
353-
//│ = { x: 'a', y: 'b' }
354-
//│ rcd2: {x: 1, y: "b", z: 2}
355-
//│ = { x: 1, y: 'b', z: 2 }
356-
//│ res: ("a", "b", 1, "b", 2,)
357-
//│ = [ 'a', 'b', 1, 'b', 2 ]
351+
//│ /!\ Parse error: Expected end-of-input:1:12, found ":js;rcd1 =" at l.347:1: :js
358352

359353
class M: {mut x : int}
360354
//│ Defined class M

0 commit comments

Comments
 (0)