Project

Profile

Help

Bug #3523

closed

Static type checking on reflexive extension functions does not take ?void=this into account

Added by Michael Kay about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2017-11-13
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:

Description

See JUnit test case TestReflexion/testThisSetter2.

It appears that the URI suffix ?void=this is not considered when doing static type checking on reflexive extension function calls, that is, the static type of the call is assumed to be () rather than the type of the instance to which the method is applied.

Please register to edit this issue

Also available in: Atom PDF