From 06fb5aceeb65a75b1cd643debd667c52fdcafcb9 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 8 Nov 2026 14:10:02 -0800 Subject: Better error messages Better error messages. Buffs to the std lib; getch() to fetch a single character; streaming I/O handles retries, and large sizes, with better error reporting. Formatted strings. Default int moved to i32. TicTacToe, the game. --- chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java') diff --git a/chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java b/chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java index c6817308..8b7c5eef 100644 --- a/chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java +++ b/chapter30/src/test/java/com/seaofnodes/simple/Chapter12Test.java @@ -127,7 +127,7 @@ N n = new N(null); return n.next; """); try { code.driver(CodeGen.Phase.TypeCheck); fail(); } - catch( Exception e ) { assertEquals("Argument #0 isa null, but must be a *Test.M {i64 !m; }",e.getMessage()); } + catch( Exception e ) { assertEquals("Argument #0 isa null, but must be a *Test.M {i32 !m; }",e.getMessage()); } } @Test -- cgit v1.2.3