General (#1) - Is query overloading possible ? (#25) - Message List

Is query overloading possible ?


In my transformation definition I have defined two queries with the same name, but different parameter-types. Should this be supported according to the QVT spec? OCL does support it, the ikv-QVT syntax parser gets confused...

This is my code:

query getProperty(entry : POI::Entry, id : String) : String {
		select(s| = entry.value).last().getProperty(id)
query getProperty(sect : POI::Section, id : String) : String {


-- Carel

  • Message #63

    Since OCL supports it, we think this should also be supported in QVT and we have fixed this "bug" now. You can get an update by waiting on the next mediniQVT release or by building the engine yourself (see )

    • Message #64

      Thank you very much for this very fast response!


No attachments created.