Skip to content

Commit

Permalink
Graphviz: display the b1 type as "b1{be,le}->bool"
Browse files Browse the repository at this point in the history
Previously, "BitsType1({Big,Little}BitEndian)" was shown, which reflects
the internal compiler representation and was never really meant to be
displayed.
  • Loading branch information
generalmimon committed Aug 11, 2024
1 parent 19e8bf0 commit 6af5af2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ object GraphvizClassCompiler extends LanguageCompilerStatic {
case EnumType(name, basedOn) =>
s"${dataTypeName(basedOn)}${type2display(name)}"
case BitsType(width, bitEndian) => s"b$width${bitEndian.toSuffix}"
case BitsType1(bitEndian) => s"b1${bitEndian.toSuffix}→bool"
case _ => dataType.toString
}
}
Expand Down

0 comments on commit 6af5af2

Please sign in to comment.