Opened 6 years ago

Closed 6 years ago

#4791 closed defect (fixed)

NFScodeDependency fails for small example

Reported by: sjoelund.se Owned by: somebody
Priority: blocker Milestone: 2.0.0
Component: Frontend Version:
Keywords: Cc: perost

Description

From https://openmodelica.org/forum/default-topic/2427-1024-error-messages:

package battery
  model Converter
  end Converter;
end battery;

model M
  battery.Converter battery;
end M;

This causes a stack overflow.

Change History (1)

comment:1 Changed 6 years ago by perost

  • Milestone changed from 1.13.0 to 2.0.0
  • Resolution set to fixed
  • Status changed from new to closed

The model correctly gives an error when using the new frontend, and it doesn't seem very important to fix in the old frontend since it only affects invalid models.

Note: See TracTickets for help on using tickets.