IVE: unclear error message when attempting to edit the interface's implementation
Steps to reproduce:
- create a new project by typing a command taste in a terminal
and after question for directory name - provide this name (for example
reproduceBug
) - remove 'Welcome to TASTE' comment box from IV diagram
- add a function and name it TestDriver. Right-click on it, choose properties and implementations. Change default implementation to C
- add a function and name it FunctionUnderTest. Change default implementation to C just like with previous one
- press ctrl and left-click on testdriver; holding ctrl move the cursor to functionUnderTest and release mouse key and then ctrl. you should see Edit PI window.
Name an interface InterfaceUnderTest
Kind: Protected.
rest is default. - Click ok and return to Properties->Parameters of this interface (right click a triangle on FunctionUnderTest, click Properties, click Parameters tab). Add parameters named active, temperature, posX, posY and result. Set the direction of result to OUT. Set encoding protocol for all parameters to ACN. Click ok.
- Now click on a triangle on project pane (left side) to expand the project files. Expand the Other files and open the reproduceBug.asn file by double-clicking it. Add the following definitons: MyReal ::= REAL (0.0 .. 1000.0) MyBool ::= BOOLEAN
- Save the file by clicking ctrl+s and open interfaceview.xml by double-clicking on it on the project pane. Again edit properties of the InterfaceUnderTest and go to Parameters. Set them to MyBool, MyReal, MyInteger, MyInteger and MyBool. Click ok. Save file with ctrl+s.
- Right click somewhere in the background of the diagram and click Generate/Update code skeletons. Right click on the InterfaceUnderTest and select Edit Implementation. There is an error now:
[ERROR] First argument must be C, CPP, Ada, SDL, GUI or Blackbox_C, and not ""