Changes between Initial Version and Version 2 of Ticket #5048


Ignore:
Timestamp:
2018-07-20T19:25:15Z (6 years ago)
Author:
massimo ceraolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5048

    • Property Summary False errorFalse error message?
  • Ticket #5048 – Description

    initial v2  
    22Therefore I suppose any false error message should be corrected.
    33
    4 Currently OMEdit shows a strange, probably wrong, error message whenever we duplicate a model in a package.
     4Currently OMEdit shows a strange message whenever we duplicate a model in a package.
    55The issue can be replicated considering the attached Test.mo.
    6 If we duplicate RL1 giving for instance to the duplicated class the name RL2, we receive the following error message:
     6If we duplicate RL1 giving for instance to the duplicated class the name RL2, I receive the following error message:
    77
    88[1] 21:07:52 Syntax Error
     
    1616stored_definition
    1717
     18That message was received on a Mac. On a (older version under) Windows I receive something similar:
     19
     20[1] 21:18:40 Syntax Error
     21[: 1:0-1:0]: No viable alternative near token: C
     22
     23[2] 21:18:40 Translation Error
     24[: 0:0-0:0]: Internal error Failed to scan top of input: EOF
     25  Expected one of: <EOF>
     26  Current parse tree is:   The parser stack is:
     27
    1828
    1929It seems to me that no error occurred while duplication. So, probably this error message is just wrong