diverse-project / melange

The Melange Language Workbench
http://melange-lang.org
Eclipse Public License 1.0
28 stars 7 forks source link

inference of melange doesn't support java arrays #40

Open dvojtise opened 8 years ago

dvojtise commented 8 years ago

inference of melange doesn't support java arrays

if we have a K3 aspect that declares a method with java array, then we get an error in the merge of melange

ex: in TFSM sequential from GEMOC @fr.inria.diverse.k3.al.annotationprocessor.InitializeModel def public void initializeModel(String[] args){

then the melange: with org.gemoc.sample.tfsm.plaink3.dsa.TimedSystemAspect

we get the folloing error : Cannot merge tfsm_plaink3.String[] with tfsm_plaink3.eClassifiers: The name 'String[]' is not well formed Main.melange /org.gemoc.sample.tfsm.plaink3.xdsml/src/main/java/org/gemoc/sample/tfsm/xdsml line: 25 /org.gemoc.sample.tfsm.plaink3.xdsml/src/main/java/org/gemoc/sample/tfsm/xdsml/Main.melange Melange Problem