Skip to content

Conversation

@GuntherRademacher
Copy link
Member

The spec, in 4.14.4 Method Calls, requires a map that goes into a method call to have an entry with the given key that is a single function item. Implementation-wise this used to be checked implicitly by the involved dynamic function call, because until recently that required a single function item as well. However with that changed to allowing a sequence of zero or more function items, an extra type check becomes necessary for method calls, which is added here.

This fixes QT4 test cases method-902 and method-904.

@ChristianGruen
Copy link
Member

The exact rules are still being discussed (qt4cg/qtspecs#2219). I’ll wait with the merge until we’ve chosen what to do.

@ChristianGruen ChristianGruen changed the title Add missing type check to method calls WIP: Add missing type check to method calls Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants