Changeset 42cf5d60 in OpenModelica

Timestamp:
2021-01-14T15:53:38+01:00 (3 years ago)
Author:
Per Östlund <perost86@…>
Parents:
7cd9aa39
git-author:
Per Östlund <perost86@…> (01/14/21 15:05:39)
git-committer:
Per Östlund <perost86@…> (01/14/21 15:53:38)
Message:

Improve handling of package constants

  • Try to fetch the binding of a package constant from its parent if it doesn't have a binding and is a record field.
  • Add case for cref in Expression.nthRecordElement that returns a new cref instead of a record element expression.
  • Disable collection of package constants in functions, since it doesn't work properly anyway.
  • Move collection of package constants before collection of functions, so that function in package constants are also collected.
Files:
1 added
7 edited

Note: See TracChangeset for help on using the changeset viewer.