   func testVisitSwitchStatement() {
     let node = SwitchStatement(expression: WildcardExpression())
     do {
-      let result = try defaultVisitor.traverse(node)
+      let result = try defaultVisitor.traverse(node as Statement)
       XCTAssertTrue(result)
     } catch {
       XCTFail("Failed in visiting SwitchStatement")

      rightExpression: WildcardExpression()
    )
    do {
      let result = try defaultVisitor.traverse(node)
      XCTAssertTrue(result)
    } catch {
      XCTFail("Failed in visiting AssignmentOperatorExpression")

  func testVisitCompilerControlStatement() {
    let node = CompilerControlStatement(kind: .endif)
    do {
      let result = try defaultVisitor.traverse(node as Statement)
      XCTAssertTrue(result)
    } catch {
      XCTFail("Failed in visiting CompilerControlStatement")
