Skip to content

Commit

Permalink
Store exact type, not one of the base class to inhibit assertion (#4818)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Korobeynikov <[email protected]>
  • Loading branch information
asl authored Jul 19, 2024
1 parent 6ae5875 commit dbb133f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/p4/typeChecking/typeConstraints.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace P4 {

/// Creates a string that describes the values of current type variables
class Explain : public Inspector {
absl::flat_hash_set<const IR::ITypeVar *, Util::Hash> explained;
absl::flat_hash_set<const IR::Type_Var *, Util::Hash> explained;
const TypeVariableSubstitution *subst;

public:
Expand Down

0 comments on commit dbb133f

Please sign in to comment.