Closed stevevestal closed 5 years ago
Parts of the file are skipped because the parser sees a syntax error in Sys.Refine2 from which it can't recover. There's not much we can do about that.
I had a look at the standard. I agree that the grammar is inconsistent with the written text. The grammar allows only properties and modes to be added, which is implemented in OSATE. The text seems to allow source and destination, too. The text also talks refining bidirectional feature connections to unidirectional port connections, which obviously would require the -> symbol in the refinement. I suggest you file this as an issue in the language issue tracker at https://github.com/saeaadl/aadlv2.2/issues as it's clearly a problem in the standard.
I knew it contained things that OSATE previously complained about. What I considered an error is that it did not report any errors to me, no error markers.
I can't reproduce that. I see the syntax error marker in the text editor in 2.5.1 for the first syntax error. After that the parser continues to expect the end of the package. Following input is ignored. Please test in 2.5.0 or the 2.5.1 release candidate.
@stevevestal Can you reproduce the issue in OSATE 2.5.1?
In the current OSATE 2.5.1 Product build I see the errors in both the problems view and the editor view, and the editor view shows the complete package. Closing as cannot reproduce.
Summary
When I open the following in the editor, the Outline view only shows declarations down through System.Refine2. System.Refine3 and System.Refine4 are shown in the editor but do not appear in the Outline. No errors are reported. Is there any way to attempt an instantiation other than from the outline?
Expected and Current Behavior
Expected to see all package elements in the Outline. If errors exist, expected to see them reported and expected to still see all package elements in the Outline.
Steps to Reproduce
Environment