From eadc2d8afbebb48157436bd9b6c50d80f79603fa Mon Sep 17 00:00:00 2001 From: Mark Wheelhouse <mjw03@doc.ic.ac.uk> Date: Mon, 3 Feb 2020 16:22:20 +0000 Subject: [PATCH] fixed string vs. char[] type mismatch in advanced hashtable example WACC program --- valid/advanced/hashTable.wacc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valid/advanced/hashTable.wacc b/valid/advanced/hashTable.wacc index ae421ce..d7d196e 100644 --- a/valid/advanced/hashTable.wacc +++ b/valid/advanced/hashTable.wacc @@ -214,7 +214,7 @@ begin end # Print out the question, and then read an integer. After that print the integer back and return it. - int askForInt(char[] message) is + int askForInt(string message) is print message ; int x = 0 ; read x ; -- GitLab