4ed04392d3
The type-check block now disables type checking event access instead of generating a reference to an undefined variable. PR Close #20490