Skip to content

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

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

tautschnig
Copy link
Collaborator

Use a messaget member instead as there is no is-a relationship between
interpretert and messaget.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Use a messaget member instead as there is no is-a relationship between
interpretert and messaget.
@codecov
Copy link

codecov bot commented Nov 15, 2020

Codecov Report

Merging #5595 (a17bbfa) into develop (77a0496) will increase coverage by 0.00%.
The diff coverage is 45.23%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5595   +/-   ##
========================================
  Coverage    69.32%   69.32%           
========================================
  Files         1242     1242           
  Lines       100418   100417    -1     
========================================
  Hits         69619    69619           
+ Misses       30799    30798    -1     
Flag Coverage Δ
cproversmt2 43.09% <ø> (ø)
regression 66.22% <45.23%> (+<0.01%) ⬆️
unit 32.26% <4.76%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/goto-programs/interpreter_evaluate.cpp 32.11% <0.00%> (+0.11%) ⬆️
src/goto-programs/interpreter.cpp 51.80% <53.12%> (-0.11%) ⬇️
src/goto-programs/interpreter_class.h 55.55% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77a0496...a17bbfa. Read the comment docs.

Copy link
Contributor

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),

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?

Copy link
Collaborator Author

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?

@hannes-steffenhagen-diffblue
Copy link
Contributor

GH Actions failed due to network error, restarting (all of them because apparently there's no way to restart only a single one).

Copy link
Member

@peterschrammel peterschrammel left a 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.

@tautschnig tautschnig merged commit dcf92fe into diffblue:develop Nov 16, 2020
@tautschnig tautschnig deleted the messaget-interpreter branch November 16, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants