eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
142 stars 112 forks source link

subtree match on Record results in cast exception #2404

Closed jjohnstn closed 1 month ago

jjohnstn commented 1 month ago

Running a subtree match on a record or a type that contains a record will result in an exception as it attempts to cast a NodeList to an ASTNode. This is because of some typos in ASTMatcher that fail to use a subtree list matcher.