Opened 6 years ago
Last modified 6 years ago
#5048 closed defect
False error message? — at Version 2
Reported by: | massimo ceraolo | Owned by: | somebody |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: | Adrian Pop |
Description (last modified by )
I suppose a program user should take seriously error and warning messages to avoid bigger issues.
Therefore I suppose any false error message should be corrected.
Currently OMEdit shows a strange message whenever we duplicate a model in a package.
The issue can be replicated considering the attached Test.mo.
If we duplicate RL1 giving for instance to the duplicated class the name RL2, I receive the following error message:
[1] 21:07:52 Syntax Error
[: 1:0-1:0]: No viable alternative near token: /
[2] 21:07:52 Translation Error
[: 0:0-0:0]: Internal error Failed to scan top of input: EOF
Expected one of: <EOF>
Current parse tree is: The parser stack is:
makeNode
stored_definition
That message was received on a Mac. On a (older version under) Windows I receive something similar:
[1] 21:18:40 Syntax Error
[: 1:0-1:0]: No viable alternative near token: C
[2] 21:18:40 Translation Error
[: 0:0-0:0]: Internal error Failed to scan top of input: EOF
Expected one of: <EOF>
Current parse tree is: The parser stack is:
It seems to me that no error occurred while duplication. So, probably this error message is just wrong
Change History (3)
by , 6 years ago
comment:1 by , 6 years ago
Summary: | False error → False error message? |
---|
comment:2 by , 6 years ago
Description: | modified (diff) |
---|