Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] [Dev] Assignments in QVTimperative guard patterns

Hi

This sounds vaguely like what I fixed with

[412341] Fix guard variable initializers

But a guard pattern has no assignments.

on the left it has predicates
on the right it has initialisers

    Regards

        Ed

On 29/07/2013 17:41, Horacio Hoyos Rodriguez wrote:

Hi Ed,

 

I have pushed some changes in the TracingVisitorDecorator to git. Basically some emf reflection to get info about the EObjects being bound.

 

Good thing, it helped me find a bug.. or something strange. Looking at the QVTimperative.ecore (and also the QVTcore.ecore) I don’t see the GuardPattern containing any Assignments. However the QVTi editor does not complaint about them (for example the ones in associationToForeignKeyLM).  

 

The bug, I think is due to the Assigments are not being visited and hence the variables are null when evaluating the predicates.

 

This is preliminary,  and will continue with further testing.

 

Regards,

 

 

Horacio Hoyos Rodríguez

EngD Student

University of York

 

http://www.york.ac.uk/docs/disclaimer/email.htm

 



_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3349 / Virus Database: 3209/6529 - Release Date: 07/29/13



Back to the top