(* * This reports several errors: * * 1. "int" in line 13 * 2. ":" in line 19 * 3. ":" in line 21 * 4. errors in the parameter expressions in line 29 * 5. ":" in line 32 * 6. "int" in line 37 *) class A { -- Broken formals, and an error in an expression sequence blah(a: Int, b: int): Int { { 0; 0; 0; 0; :; -- error 0; :; -- another error 0; (* * Now a function call. This is full of semantic errors that we don't * care about for now, but also two syntactic errors. We only attempt * to catch one and then bail out of the expression. *) blah(a