Changes between Initial Version and Version 2 of Ticket #1695


Ignore:
Timestamp:
2012-08-17T11:38:59Z (14 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1695

    • Property Component → Command Prompt Environment
    • Property Resolution → fixed
    • Property Status new → closed
    • Property Milestone → 1.9.0
  • Ticket #1695 – Description

    initial v2  
    1 {{{loadString("
     1{{{
     2loadString("
    23model N
    34  Integer Spring[:] = {1,2,3,4};
    … …  
    89end M;
    910");
    10 getClassNames();getErrorString();}}}
     11getClassNames();getErrorString();
     12}}}
    1113
    12 {{{Compiler/FrontEnd/SCodeUtil.mo:        Error.addSourceMessage(Error.SUBSCRIPTED_MODIFIER, {}, info);}}}
     14{{{
     15Compiler/FrontEnd/SCodeUtil.mo:        Error.addSourceMessage(Error.SUBSCRIPTED_MODIFIER, {}, info);
     16}}}
    1317
    1418The above model is illegal according to SCodeFlatten, but the class should simply be invalidated. If we load this class, OMEdit, is now unable to delete or add classes, etc (getClassNames no longer returns a value).