Skip to content

Commit

Permalink
[OM] Update printer for OMDeleted targets.
Browse files Browse the repository at this point in the history
All targets require the colon after the target kind, even OMDeleted.
  • Loading branch information
mikeurbach committed Mar 15, 2024
1 parent f1d478b commit 0db5224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/OM/Evaluator/Evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ evaluator::PathValue evaluator::PathValue::getEmptyPath(Location loc) {
StringAttr evaluator::PathValue::getAsString() const {
// If the module is null, then this is a path to a deleted object.
if (!targetKind)
return StringAttr::get(getContext(), "OMDeleted");
return StringAttr::get(getContext(), "OMDeleted:");
SmallString<64> result;
switch (targetKind.getValue()) {
case TargetKind::DontTouch:
Expand Down

0 comments on commit 0db5224

Please sign in to comment.