Opened 4 years ago

Last modified 3 years ago

#6249 new defect

Inconsistent behaviour when opening a new class from a tab with syntactically wrong code

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: critical Milestone:
Component: OMEdit Version: 1.16.0
Keywords: Cc: simone1.bosotti@…, matteoluigi.depascali@…, paolo.curatolo@…

Description

Steps to reproduce

  • open attached P.mo file
  • double click on M2
  • write some invalid code (e.g. Real x)

At this point you can actually open M1 (which is on the same .mo file) with right-click | Open class. This is fine, provided that #6248 is resolved. However, if you double-click on M1 instead, an error dialog pops up that forces you to resolve the issues with the invalid code. This behaviour is unwanted, because one should be allowed to inspect other classes while writing code, and should be made consistent with the right-click behaviour.

Related to #6248.

Change History (3)

comment:1 by Francesco Casella, 4 years ago

Could be put in 1.16.2 if other issues force us to release it.

comment:2 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:3 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.