-
Notifications
You must be signed in to change notification settings - Fork 274
interpretert isn't a messaget #5595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Use a messaget member instead as there is no is-a relationship between interpretert and messaget.
Codecov Report
@@ Coverage Diff @@
## develop #5595 +/- ##
========================================
Coverage 69.32% 69.32%
========================================
Files 1242 1242
Lines 100418 100417 -1
========================================
Hits 69619 69619
+ Misses 30799 30798 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming seems inconsistent, but otherwise OK
{ | ||
public: | ||
interpretert( | ||
const symbol_tablet &_symbol_table, | ||
const goto_functionst &_goto_functions, | ||
message_handlert &_message_handler) | ||
: messaget(_message_handler), | ||
: output(_message_handler), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this called output
rather than log
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interpreter necessarily provides user-facing output, i.e., is not useful if not printing some of the messages. So I thought "output" may be a better choice than "log" on this occasion. But I might well be wrong?
GH Actions failed due to network error, restarting (all of them because apparently there's no way to restart only a single one). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with output or log.
Use a messaget member instead as there is no is-a relationship between
interpretert and messaget.