Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DetailAST should invalidate childCount cache #3486
Similar to #3466 (comment) and the existing issue described at #3466 (comment), we must erase the cache stored inside DetailAST between the non-comment trees and comment trees as the extra nodes being added make the cache values wrong.
The fix in the previous issue invalidated
In previous issue's fix,
Showcase of issue at: #3485 (comment)