Opened 7 years ago
Closed 4 years ago
#2512 closed enhancement (fixed)
Print component name in errors and warnings when applicable
Reported by: | jsten | Owned by: | jsten |
---|---|---|---|
Priority: | major | Milestone: | Pending |
Component: | Modelica/FrontEnd | Version: | trunk |
Keywords: | 1.17-candidate #4734. | Cc: |
Description (last modified by )
It would be useful to display in what component an error or warning has occurred.
For example:
In file 'src/test/modelica/TypeTests.mo', component 'TypeTests.TypeTest1': Semantic error at line 35, column 4: The right and left expression types of equation are not compatible
This is a part of #4734.
Change History (10)
comment:1 Changed 7 years ago by
Milestone: | 1.10.x → 1.11.x |
---|
comment:2 Changed 6 years ago by
Milestone: | 1.11.x → Future |
---|
comment:3 Changed 6 years ago by
Milestone: | Future → Pending |
---|---|
Owner: | set to jsten |
Status: | new → assigned |
comment:5 Changed 6 years ago by
Milestone: | Pending → 1.12.x |
---|
comment:6 Changed 6 years ago by
Milestone: | 1.12.x → Pending |
---|
comment:7 Changed 5 years ago by
changeset:6581
Added option that, if enabled, will output the names of the components where errors and warnings are detected.
comment:8 Changed 4 years ago by
Keywords: | 1.17-candidate added |
---|
Remains to set this option to true by default and update junit tests.
comment:9 Changed 4 years ago by
Description: | modified (diff) |
---|---|
Keywords: | #4734. added |
comment:10 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
changeset:8409
Enabled printing of component names in error messages by default.
Note: See
TracTickets for help on using
tickets.
Use implementation to getComponentName() to generate name.