From 4cd6517df6f9fbf77215525cf0b736ab4f90b143 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 1 Apr 2025 19:59:02 -0700 Subject: Fix bug encoded inf loops Assert functions laid out end to end. Fix bug with layout on inf loops. Swap default Never jump order. --- chapter21/src/test/java/com/seaofnodes/simple/Chapter18Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter21/src/test') diff --git a/chapter21/src/test/java/com/seaofnodes/simple/Chapter18Test.java b/chapter21/src/test/java/com/seaofnodes/simple/Chapter18Test.java index d0623d12..21e6c777 100644 --- a/chapter21/src/test/java/com/seaofnodes/simple/Chapter18Test.java +++ b/chapter21/src/test/java/com/seaofnodes/simple/Chapter18Test.java @@ -193,7 +193,7 @@ for(;;) { """); code.parse().opto().typeCheck().GCM().localSched(); assertEquals("return Top;", code._stop.toString()); - assertEquals(null, Eval2.eval(code, 0)); + assertEquals("null", Eval2.eval(code, 0)); } -- cgit v1.2.3