CompileWithTargetClassAccessExtension fails to select overloaded test methods #28901
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
The method lookup algorithm in
CompileWithTargetClassAccessExtension
is based solely on the class name and method name. In other words, it omits the parameter list of the method declaration. This results inCompileWithTargetClassAccessExtension
selecting the wrong test method if the test class hierarchy declares multiple methods with the same name but different parameter lists.The text was updated successfully, but these errors were encountered: