Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[qvto-dev] Assigning type expressions

Hi

 

What’s your opinion on assignments of type expressions inside QVTo?

 

modeltype ecore uses 'http://www.eclipse.org/emf/2002/Ecore';

 

var e : EClassifier = ecore::EAnnotation;

 

This doesn’t compile, and I wonder if we could make it compile.

The concrete use case that I have in mind is loading of metamodel-specific standard library packages via nsURI, which works. Unfortunately, the packaged custom EClassifiers are not type-compatible with variables of type EClassifier.

 

 

Kind regards

Christopher

 

 

 

 

 


Back to the top