!7 static int count; static A _registerIOWrap(A wrapper, O wrapped) { printStructs("_registerIOWrap", wrapper := className(wrapper), wrapped := className(wrapped)); ret wrapper; } svoid _registerIO(O o, S path, bool opened) { printStructs("_registerIO", "class" := className(o), +path, +opened); count += opened ? 1 : -1; } p-exp { print(firstLineFromFile(speechRecognitionLog())); assertEqualsVerbose(count, 0); }